awsspec

package
v0.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 84 Imported by: 0

Documentation

Overview

DO NOT EDIT This file was automatically generated with go generate

DO NOT EDIT This file was automatically generated with go generate

DO NOT EDIT This file was automatically generated with go generate

Copyright 2017 WALLIX

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2017 WALLIX

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2017 WALLIX

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2017 WALLIX

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

View Source
const ImageQuerySpec = "owner:distro:variant:arch:virtualization:store"

Variables

View Source
var (
	Platforms = map[string]Platform{
		"canonical":   Canonical,
		"redhat":      RedHat,
		"debian":      Debian,
		"amazonlinux": AmazonLinux,
		"coreos":      CoreOS,
		"centos":      CentOS,
		"suselinux":   SuseLinux,
		"windows":     Windows,
	}

	Canonical = Platform{
		Name: "canonical", Id: "099720109477", DistroName: "ubuntu", LatestVariant: "xenial",
		MatchFunc: func(s string, d Distro) bool {
			return strings.HasPrefix(s, fmt.Sprintf("%s/images/%s-ssd/%s-%s", d.Name, d.Virt, d.Name, d.Variant))
		},
	}

	RedHat = Platform{
		Name: "redhat", Id: "309956199498", DistroName: "rhel", LatestVariant: "7.5",
		MatchFunc: func(s string, d Distro) bool {
			return strings.Contains(s, fmt.Sprintf("%s-%s", d.Name, d.Variant))
		},
	}

	Debian = Platform{
		Name: "debian", Id: "379101102735", DistroName: "debian", LatestVariant: "stretch",
		MatchFunc: func(s string, d Distro) bool {
			return strings.HasPrefix(s, fmt.Sprintf("%s-%s", d.Name, d.Variant))
		},
	}

	CoreOS = Platform{
		Name: "coreos", Id: "595879546273", DistroName: "coreos", LatestVariant: "1688",
		MatchFunc: func(s string, d Distro) bool {
			return strings.HasPrefix(s, strings.ToLower(fmt.Sprintf("%s-stable-%s", d.Name, d.Variant)))
		},
	}

	CentOS = Platform{
		Name: "centos", Id: "679593333241", DistroName: "centos", LatestVariant: "7",
		MatchFunc: func(s string, d Distro) bool {
			return strings.HasPrefix(s, strings.ToLower(fmt.Sprintf("%s Linux %s", d.Name, d.Variant)))
		},
	}

	AmazonLinux = Platform{
		Name: "amazonlinux", Id: "137112412989", DistroName: "amzn", LatestVariant: "hvm",
		MatchFunc: func(s string, d Distro) bool {
			return strings.HasPrefix(s, fmt.Sprintf("%s-ami-%s", d.Name, d.Variant))
		},
	}

	SuseLinux = Platform{
		Name: "suselinux", Id: "013907871322", LatestVariant: "sles-12",
		MatchFunc: func(s string, d Distro) bool {
			return strings.HasPrefix(s, fmt.Sprintf("suse-%s", d.Variant))
		},
	}

	Windows = Platform{
		Name: "windows", Id: "801119661308", DistroName: "server", LatestVariant: "2016",
		MatchFunc: func(s string, d Distro) bool {
			return strings.HasPrefix(s, strings.ToLower(fmt.Sprintf("windows_%s-%s-english", d.Name, d.Variant)))
		},
	}

	SupportedAMIOwners []string
)
View Source
var APIPerTemplateDefName = map[string]string{}/* 167 elements not displayed */
View Source
var (
	AWSCredFilepath = filepath.Join(awsconfig.AWSHomeDir(), "credentials")
)
View Source
var AWSTemplatesDefinitions = map[string]Definition{}/* 167 elements not displayed */
View Source
var CallerReferenceFunc = func() string {
	return fmt.Sprint(time.Now().UTC().Unix())
}
View Source
var DefaultImageResolverCache = new(ImageResolverCache)
View Source
var DriverSupportedActions = map[string][]string{
	"attach":       {"alarm", "classicloadbalancer", "containertask", "elasticip", "instance", "instanceprofile", "internetgateway", "listener", "mfadevice", "networkinterface", "policy", "role", "routetable", "securitygroup", "user", "volume"},
	"authenticate": {"registry"},
	"check":        {"certificate", "database", "distribution", "instance", "loadbalancer", "natgateway", "networkinterface", "scalinggroup", "securitygroup", "volume"},
	"copy":         {"image", "snapshot"},
	"create":       {"accesskey", "alarm", "appscalingpolicy", "appscalingtarget", "bucket", "certificate", "classicloadbalancer", "containercluster", "database", "dbsubnetgroup", "distribution", "elasticip", "function", "group", "image", "instance", "instanceprofile", "internetgateway", "keypair", "launchconfiguration", "listener", "loadbalancer", "loginprofile", "mfadevice", "natgateway", "networkinterface", "policy", "queue", "record", "repository", "role", "route", "routetable", "s3object", "scalinggroup", "scalingpolicy", "securitygroup", "snapshot", "stack", "subnet", "subscription", "tag", "targetgroup", "topic", "user", "volume", "vpc", "zone"},
	"delete":       {"accesskey", "alarm", "appscalingpolicy", "appscalingtarget", "bucket", "certificate", "classicloadbalancer", "containercluster", "containertask", "database", "dbsubnetgroup", "distribution", "elasticip", "function", "group", "image", "instance", "instanceprofile", "internetgateway", "keypair", "launchconfiguration", "listener", "loadbalancer", "loginprofile", "mfadevice", "natgateway", "networkinterface", "policy", "queue", "record", "repository", "role", "route", "routetable", "s3object", "scalinggroup", "scalingpolicy", "securitygroup", "snapshot", "stack", "subnet", "subscription", "tag", "targetgroup", "topic", "user", "volume", "vpc", "zone"},
	"detach":       {"alarm", "classicloadbalancer", "containertask", "elasticip", "instance", "instanceprofile", "internetgateway", "mfadevice", "networkinterface", "policy", "role", "routetable", "securitygroup", "user", "volume"},
	"import":       {"image"},
	"restart":      {"database", "instance"},
	"start":        {"alarm", "containertask", "database", "instance"},
	"stop":         {"alarm", "containertask", "database", "instance"},
	"update":       {"bucket", "classicloadbalancer", "containertask", "distribution", "image", "instance", "loginprofile", "policy", "record", "s3object", "scalinggroup", "securitygroup", "stack", "subnet", "targetgroup"},
}
View Source
var MockAWSSessionFactory = &AWSFactory{
	Log:  logger.DiscardLogger,
	Sess: mock.Session,
}
View Source
var ProgressBarFactory func(*os.File) (*ProgressReadSeeker, error)

Allow to control for testing

Functions

func Bool

func Bool(v bool) *bool

func BoolValue

func BoolValue(v *bool) bool

func Int64

func Int64(v int64) *int64

func Int64AsIntValue

func Int64AsIntValue(v *int64) int

func NewCredsPrompter

func NewCredsPrompter(profile string) *credentialsPrompter

func NewEnumValidator

func NewEnumValidator(expected ...string) *enumValidator

func String

func String(v string) *string

func StringValue

func StringValue(v *string) string

Types

type AWSFactory

type AWSFactory struct {
	Log   *logger.Logger
	Sess  *session.Session
	Graph cloud.GraphAPI
}

func (*AWSFactory) Build

func (f *AWSFactory) Build(key string) func() interface{}

type AfterRunner

type AfterRunner interface {
	AfterRun(env.Running, interface{}) error
}

type AttachAlarm

type AttachAlarm struct {
	Name      *string `templateName:"name"`
	ActionArn *string `templateName:"action-arn"`
	// contains filtered or unexported fields
}

func NewAttachAlarm

func NewAttachAlarm(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachAlarm

func (*AttachAlarm) ManualRun

func (cmd *AttachAlarm) ManualRun(renv env.Running) (interface{}, error)

func (*AttachAlarm) ParamsSpec added in v0.1.9

func (cmd *AttachAlarm) ParamsSpec() params.Spec

func (*AttachAlarm) Run

func (cmd *AttachAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachAlarm) SetApi

func (cmd *AttachAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)

type AttachClassicLoadbalancer added in v0.1.11

type AttachClassicLoadbalancer struct {
	Name     *string `awsName:"LoadBalancerName" awsType:"awsstr" templateName:"name"`
	Instance *string `awsName:"Instances[0]InstanceId" awsType:"awsslicestruct" templateName:"instance"`
	// contains filtered or unexported fields
}

func NewAttachClassicLoadbalancer added in v0.1.11

func NewAttachClassicLoadbalancer(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachClassicLoadbalancer

func (*AttachClassicLoadbalancer) ExtractResult added in v0.1.11

func (cmd *AttachClassicLoadbalancer) ExtractResult(interface{}) string

func (*AttachClassicLoadbalancer) ParamsSpec added in v0.1.11

func (cmd *AttachClassicLoadbalancer) ParamsSpec() params.Spec

func (*AttachClassicLoadbalancer) Run added in v0.1.11

func (cmd *AttachClassicLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachClassicLoadbalancer) SetApi added in v0.1.11

func (cmd *AttachClassicLoadbalancer) SetApi(api elbiface.ELBAPI)

type AttachContainertask

type AttachContainertask struct {
	Name            *string   `templateName:"name"`
	ContainerName   *string   `templateName:"container-name"`
	Image           *string   `templateName:"image"`
	MemoryHardLimit *int64    `templateName:"memory-hard-limit"`
	Commands        []*string `templateName:"command"`
	Env             []*string `templateName:"env"`
	Privileged      *bool     `templateName:"privileged"`
	Workdir         *string   `templateName:"workdir"`
	Ports           []*string `templateName:"ports"`
	// contains filtered or unexported fields
}

func NewAttachContainertask

func NewAttachContainertask(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachContainertask

func (*AttachContainertask) ExtractResult

func (cmd *AttachContainertask) ExtractResult(i interface{}) string

func (*AttachContainertask) ManualRun

func (cmd *AttachContainertask) ManualRun(renv env.Running) (interface{}, error)

func (*AttachContainertask) ParamsSpec added in v0.1.9

func (cmd *AttachContainertask) ParamsSpec() params.Spec

func (*AttachContainertask) Run

func (cmd *AttachContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachContainertask) SetApi

func (cmd *AttachContainertask) SetApi(api ecsiface.ECSAPI)

type AttachElasticip

type AttachElasticip struct {
	Id                 *string `awsName:"AllocationId" awsType:"awsstr" templateName:"id"`
	Instance           *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"`
	Networkinterface   *string `awsName:"NetworkInterfaceId" awsType:"awsstr" templateName:"networkinterface"`
	Privateip          *string `awsName:"PrivateIpAddress" awsType:"awsstr" templateName:"privateip"`
	AllowReassociation *bool   `awsName:"AllowReassociation" awsType:"awsbool" templateName:"allow-reassociation"`
	// contains filtered or unexported fields
}

func NewAttachElasticip

func NewAttachElasticip(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachElasticip

func (*AttachElasticip) ExtractResult

func (cmd *AttachElasticip) ExtractResult(i interface{}) string

func (*AttachElasticip) ParamsSpec added in v0.1.9

func (cmd *AttachElasticip) ParamsSpec() params.Spec

func (*AttachElasticip) Run

func (cmd *AttachElasticip) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachElasticip) SetApi

func (cmd *AttachElasticip) SetApi(api ec2iface.EC2API)

type AttachInstance

type AttachInstance struct {
	Targetgroup *string `awsName:"TargetGroupArn" awsType:"awsstr" templateName:"targetgroup"`
	Id          *string `awsName:"Targets[0]Id" awsType:"awsslicestruct" templateName:"id"`
	Port        *int64  `awsName:"Targets[0]Port" awsType:"awsslicestructint64" templateName:"port"`
	// contains filtered or unexported fields
}

func NewAttachInstance

func NewAttachInstance(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachInstance

func (*AttachInstance) ParamsSpec added in v0.1.9

func (cmd *AttachInstance) ParamsSpec() params.Spec

func (*AttachInstance) Run

func (cmd *AttachInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachInstance) SetApi

func (cmd *AttachInstance) SetApi(api elbv2iface.ELBV2API)

type AttachInstanceprofile

type AttachInstanceprofile struct {
	Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"`
	Name     *string `awsName:"IamInstanceProfile.Name" awsType:"awsstr" templateName:"name"`
	Replace  *bool   `templateName:"replace"`
	// contains filtered or unexported fields
}

func NewAttachInstanceprofile

func NewAttachInstanceprofile(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachInstanceprofile

func (*AttachInstanceprofile) ManualRun

func (cmd *AttachInstanceprofile) ManualRun(renv env.Running) (interface{}, error)

func (*AttachInstanceprofile) ParamsSpec added in v0.1.9

func (cmd *AttachInstanceprofile) ParamsSpec() params.Spec

func (*AttachInstanceprofile) Run

func (cmd *AttachInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachInstanceprofile) SetApi

func (cmd *AttachInstanceprofile) SetApi(api ec2iface.EC2API)

type AttachInternetgateway

type AttachInternetgateway struct {
	Id  *string `awsName:"InternetGatewayId" awsType:"awsstr" templateName:"id"`
	Vpc *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"`
	// contains filtered or unexported fields
}

func NewAttachInternetgateway

func NewAttachInternetgateway(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachInternetgateway

func (*AttachInternetgateway) ParamsSpec added in v0.1.9

func (cmd *AttachInternetgateway) ParamsSpec() params.Spec

func (*AttachInternetgateway) Run

func (cmd *AttachInternetgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachInternetgateway) SetApi

func (cmd *AttachInternetgateway) SetApi(api ec2iface.EC2API)

type AttachListener added in v0.1.10

type AttachListener struct {
	Id          *string `awsName:"ListenerArn" awsType:"awsstr" templateName:"id"`
	Certificate *string `awsName:"Certificates[0]CertificateArn" awsType:"awsslicestruct" templateName:"certificate"`
	// contains filtered or unexported fields
}

func NewAttachListener added in v0.1.10

func NewAttachListener(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachListener

func (*AttachListener) ParamsSpec added in v0.1.10

func (cmd *AttachListener) ParamsSpec() params.Spec

func (*AttachListener) Run added in v0.1.10

func (cmd *AttachListener) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachListener) SetApi added in v0.1.10

func (cmd *AttachListener) SetApi(api elbv2iface.ELBV2API)

type AttachMfadevice

type AttachMfadevice struct {
	Id       *string `awsName:"SerialNumber" awsType:"awsstr" templateName:"id"`
	User     *string `awsName:"UserName" awsType:"awsstr" templateName:"user"`
	MfaCode1 *string `awsName:"AuthenticationCode1" awsType:"aws6digitsstring" templateName:"mfa-code-1"`
	MfaCode2 *string `awsName:"AuthenticationCode2" awsType:"aws6digitsstring" templateName:"mfa-code-2"`
	NoPrompt *bool   `templateName:"no-prompt"`
	// contains filtered or unexported fields
}

func NewAttachMfadevice

func NewAttachMfadevice(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachMfadevice

func (*AttachMfadevice) AfterRun

func (cmd *AttachMfadevice) AfterRun(renv env.Running, output interface{}) error

func (*AttachMfadevice) ParamsSpec added in v0.1.9

func (cmd *AttachMfadevice) ParamsSpec() params.Spec

func (*AttachMfadevice) Run

func (cmd *AttachMfadevice) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachMfadevice) SetApi

func (cmd *AttachMfadevice) SetApi(api iamiface.IAMAPI)

type AttachNetworkinterface

type AttachNetworkinterface struct {
	Id          *string `awsName:"NetworkInterfaceId" awsType:"awsstr" templateName:"id"`
	Instance    *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"`
	DeviceIndex *int64  `awsName:"DeviceIndex" awsType:"awsint64" templateName:"device-index"`
	// contains filtered or unexported fields
}

func NewAttachNetworkinterface

func NewAttachNetworkinterface(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachNetworkinterface

func (*AttachNetworkinterface) ExtractResult

func (cmd *AttachNetworkinterface) ExtractResult(i interface{}) string

func (*AttachNetworkinterface) ParamsSpec added in v0.1.9

func (cmd *AttachNetworkinterface) ParamsSpec() params.Spec

func (*AttachNetworkinterface) Run

func (cmd *AttachNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachNetworkinterface) SetApi

func (cmd *AttachNetworkinterface) SetApi(api ec2iface.EC2API)

type AttachPolicy

type AttachPolicy struct {
	Arn     *string `awsName:"PolicyArn" awsType:"awsstr" templateName:"arn"`
	User    *string `awsName:"UserName" awsType:"awsstr" templateName:"user"`
	Group   *string `awsName:"GroupName" awsType:"awsstr" templateName:"group"`
	Role    *string `awsName:"RoleName" awsType:"awsstr" templateName:"role"`
	Service *string `templateName:"service"`
	Access  *string `templateName:"access"`
	// contains filtered or unexported fields
}

func NewAttachPolicy

func NewAttachPolicy(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachPolicy

func (*AttachPolicy) ManualRun

func (cmd *AttachPolicy) ManualRun(renv env.Running) (interface{}, error)

func (*AttachPolicy) ParamsSpec added in v0.1.9

func (cmd *AttachPolicy) ParamsSpec() params.Spec

func (*AttachPolicy) Run

func (cmd *AttachPolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachPolicy) SetApi

func (cmd *AttachPolicy) SetApi(api iamiface.IAMAPI)

type AttachRole

type AttachRole struct {
	Instanceprofile *string `awsName:"InstanceProfileName" awsType:"awsstr" templateName:"instanceprofile" `
	Name            *string `awsName:"RoleName" awsType:"awsstr" templateName:"name" `
	// contains filtered or unexported fields
}

func NewAttachRole

func NewAttachRole(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachRole

func (*AttachRole) ParamsSpec added in v0.1.9

func (cmd *AttachRole) ParamsSpec() params.Spec

func (*AttachRole) Run

func (cmd *AttachRole) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachRole) SetApi

func (cmd *AttachRole) SetApi(api iamiface.IAMAPI)

type AttachRoutetable

type AttachRoutetable struct {
	Id     *string `awsName:"RouteTableId" awsType:"awsstr" templateName:"id"`
	Subnet *string `awsName:"SubnetId" awsType:"awsstr" templateName:"subnet"`
	// contains filtered or unexported fields
}

func NewAttachRoutetable

func NewAttachRoutetable(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachRoutetable

func (*AttachRoutetable) ExtractResult

func (cmd *AttachRoutetable) ExtractResult(i interface{}) string

func (*AttachRoutetable) ParamsSpec added in v0.1.9

func (cmd *AttachRoutetable) ParamsSpec() params.Spec

func (*AttachRoutetable) Run

func (cmd *AttachRoutetable) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachRoutetable) SetApi

func (cmd *AttachRoutetable) SetApi(api ec2iface.EC2API)

type AttachSecuritygroup

type AttachSecuritygroup struct {
	Id       *string `templateName:"id"`
	Instance *string `templateName:"instance"`
	// contains filtered or unexported fields
}

func NewAttachSecuritygroup

func NewAttachSecuritygroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachSecuritygroup

func (*AttachSecuritygroup) ManualRun

func (cmd *AttachSecuritygroup) ManualRun(renv env.Running) (interface{}, error)

func (*AttachSecuritygroup) ParamsSpec added in v0.1.9

func (cmd *AttachSecuritygroup) ParamsSpec() params.Spec

func (*AttachSecuritygroup) Run

func (cmd *AttachSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachSecuritygroup) SetApi

func (cmd *AttachSecuritygroup) SetApi(api ec2iface.EC2API)

type AttachUser

type AttachUser struct {
	Group *string `awsName:"GroupName" awsType:"awsstr" templateName:"group"`
	Name  *string `awsName:"UserName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewAttachUser

func NewAttachUser(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachUser

func (*AttachUser) ParamsSpec added in v0.1.9

func (cmd *AttachUser) ParamsSpec() params.Spec

func (*AttachUser) Run

func (cmd *AttachUser) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachUser) SetApi

func (cmd *AttachUser) SetApi(api iamiface.IAMAPI)

type AttachVolume

type AttachVolume struct {
	Device   *string `awsName:"Device" awsType:"awsstr" templateName:"device"`
	Id       *string `awsName:"VolumeId" awsType:"awsstr" templateName:"id"`
	Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"`
	// contains filtered or unexported fields
}

func NewAttachVolume

func NewAttachVolume(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AttachVolume

func (*AttachVolume) ExtractResult

func (cmd *AttachVolume) ExtractResult(i interface{}) string

func (*AttachVolume) ParamsSpec added in v0.1.9

func (cmd *AttachVolume) ParamsSpec() params.Spec

func (*AttachVolume) Run

func (cmd *AttachVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AttachVolume) SetApi

func (cmd *AttachVolume) SetApi(api ec2iface.EC2API)

type AuthenticateRegistry

type AuthenticateRegistry struct {
	Accounts         []*string `templateName:"accounts"`
	NoConfirm        *bool     `templateName:"no-confirm"`
	DisableDockerCmd *bool     `templateName:"no-docker-login"`
	// contains filtered or unexported fields
}

func NewAuthenticateRegistry

func NewAuthenticateRegistry(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *AuthenticateRegistry

func (*AuthenticateRegistry) ManualRun

func (cmd *AuthenticateRegistry) ManualRun(renv env.Running) (interface{}, error)

func (*AuthenticateRegistry) ParamsSpec added in v0.1.9

func (cmd *AuthenticateRegistry) ParamsSpec() params.Spec

func (*AuthenticateRegistry) Run

func (cmd *AuthenticateRegistry) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*AuthenticateRegistry) SetApi

func (cmd *AuthenticateRegistry) SetApi(api ecriface.ECRAPI)

type AwsImage added in v0.1.7

type AwsImage struct {
	Id                 string
	Owner              string
	Location           string
	Type               string
	Architecture       string
	VirtualizationType string
	Name               string
	Created            time.Time
	Hypervisor         string
	Store              string
}

type BeforeRunner

type BeforeRunner interface {
	BeforeRun(env.Running) error
}

type CheckCertificate

type CheckCertificate struct {
	Arn     *string `templateName:"arn"`
	State   *string `templateName:"state"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckCertificate

func NewCheckCertificate(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckCertificate

func (*CheckCertificate) ManualRun

func (cmd *CheckCertificate) ManualRun(renv env.Running) (interface{}, error)

func (*CheckCertificate) ParamsSpec added in v0.1.9

func (cmd *CheckCertificate) ParamsSpec() params.Spec

func (*CheckCertificate) Run

func (cmd *CheckCertificate) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckCertificate) SetApi

func (cmd *CheckCertificate) SetApi(api acmiface.ACMAPI)

type CheckDatabase

type CheckDatabase struct {
	Id      *string `templateName:"id"`
	State   *string `templateName:"state"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckDatabase

func NewCheckDatabase(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckDatabase

func (*CheckDatabase) ManualRun

func (cmd *CheckDatabase) ManualRun(renv env.Running) (interface{}, error)

func (*CheckDatabase) ParamsSpec added in v0.1.9

func (cmd *CheckDatabase) ParamsSpec() params.Spec

func (*CheckDatabase) Run

func (cmd *CheckDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckDatabase) SetApi

func (cmd *CheckDatabase) SetApi(api rdsiface.RDSAPI)

type CheckDistribution

type CheckDistribution struct {
	Id      *string `templateName:"id"`
	State   *string `templateName:"state"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckDistribution

func NewCheckDistribution(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckDistribution

func (*CheckDistribution) ManualRun

func (cmd *CheckDistribution) ManualRun(renv env.Running) (interface{}, error)

func (*CheckDistribution) ParamsSpec added in v0.1.9

func (cmd *CheckDistribution) ParamsSpec() params.Spec

func (*CheckDistribution) Run

func (cmd *CheckDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckDistribution) SetApi

type CheckInstance

type CheckInstance struct {
	Id      *string `templateName:"id"`
	State   *string `templateName:"state"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckInstance

func NewCheckInstance(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckInstance

func (*CheckInstance) ManualRun

func (cmd *CheckInstance) ManualRun(renv env.Running) (interface{}, error)

func (*CheckInstance) ParamsSpec added in v0.1.9

func (cmd *CheckInstance) ParamsSpec() params.Spec

func (*CheckInstance) Run

func (cmd *CheckInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckInstance) SetApi

func (cmd *CheckInstance) SetApi(api ec2iface.EC2API)

type CheckLoadbalancer

type CheckLoadbalancer struct {
	Id      *string `templateName:"id"`
	State   *string `templateName:"state"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckLoadbalancer

func NewCheckLoadbalancer(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckLoadbalancer

func (*CheckLoadbalancer) ManualRun

func (cmd *CheckLoadbalancer) ManualRun(renv env.Running) (interface{}, error)

func (*CheckLoadbalancer) ParamsSpec added in v0.1.9

func (cmd *CheckLoadbalancer) ParamsSpec() params.Spec

func (*CheckLoadbalancer) Run

func (cmd *CheckLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckLoadbalancer) SetApi

func (cmd *CheckLoadbalancer) SetApi(api elbv2iface.ELBV2API)

type CheckNatgateway

type CheckNatgateway struct {
	Id      *string `templateName:"id"`
	State   *string `templateName:"state"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckNatgateway

func NewCheckNatgateway(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckNatgateway

func (*CheckNatgateway) ManualRun

func (cmd *CheckNatgateway) ManualRun(renv env.Running) (interface{}, error)

func (*CheckNatgateway) ParamsSpec added in v0.1.9

func (cmd *CheckNatgateway) ParamsSpec() params.Spec

func (*CheckNatgateway) Run

func (cmd *CheckNatgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckNatgateway) SetApi

func (cmd *CheckNatgateway) SetApi(api ec2iface.EC2API)

type CheckNetworkinterface

type CheckNetworkinterface struct {
	Id      *string `templateName:"id"`
	State   *string `templateName:"state"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckNetworkinterface

func NewCheckNetworkinterface(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckNetworkinterface

func (*CheckNetworkinterface) ManualRun

func (cmd *CheckNetworkinterface) ManualRun(renv env.Running) (interface{}, error)

func (*CheckNetworkinterface) ParamsSpec added in v0.1.9

func (cmd *CheckNetworkinterface) ParamsSpec() params.Spec

func (*CheckNetworkinterface) Run

func (cmd *CheckNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckNetworkinterface) SetApi

func (cmd *CheckNetworkinterface) SetApi(api ec2iface.EC2API)

type CheckScalinggroup

type CheckScalinggroup struct {
	Name    *string `templateName:"name"`
	Count   *int64  `templateName:"count"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckScalinggroup

func NewCheckScalinggroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckScalinggroup

func (*CheckScalinggroup) ManualRun

func (sg *CheckScalinggroup) ManualRun(renv env.Running) (interface{}, error)

func (*CheckScalinggroup) ParamsSpec added in v0.1.9

func (cmd *CheckScalinggroup) ParamsSpec() params.Spec

func (*CheckScalinggroup) Run

func (cmd *CheckScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckScalinggroup) SetApi

type CheckSecuritygroup

type CheckSecuritygroup struct {
	Id      *string `templateName:"id"`
	State   *string `templateName:"state"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckSecuritygroup

func NewCheckSecuritygroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckSecuritygroup

func (*CheckSecuritygroup) ManualRun

func (cmd *CheckSecuritygroup) ManualRun(renv env.Running) (interface{}, error)

func (*CheckSecuritygroup) ParamsSpec added in v0.1.9

func (cmd *CheckSecuritygroup) ParamsSpec() params.Spec

func (*CheckSecuritygroup) Run

func (cmd *CheckSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckSecuritygroup) SetApi

func (cmd *CheckSecuritygroup) SetApi(api ec2iface.EC2API)

type CheckVolume

type CheckVolume struct {
	Id      *string `templateName:"id"`
	State   *string `templateName:"state"`
	Timeout *int64  `templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCheckVolume

func NewCheckVolume(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CheckVolume

func (*CheckVolume) ManualRun

func (cmd *CheckVolume) ManualRun(renv env.Running) (interface{}, error)

func (*CheckVolume) ParamsSpec added in v0.1.9

func (cmd *CheckVolume) ParamsSpec() params.Spec

func (*CheckVolume) Run

func (cmd *CheckVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CheckVolume) SetApi

func (cmd *CheckVolume) SetApi(api ec2iface.EC2API)

type CopyImage

type CopyImage struct {
	Name         *string `awsName:"Name" awsType:"awsstr" templateName:"name"`
	SourceId     *string `awsName:"SourceImageId" awsType:"awsstr" templateName:"source-id"`
	SourceRegion *string `awsName:"SourceRegion" awsType:"awsstr" templateName:"source-region"`
	Encrypted    *bool   `awsName:"Encrypted" awsType:"awsbool" templateName:"encrypted"`
	Description  *string `awsName:"Description" awsType:"awsstr" templateName:"description"`
	// contains filtered or unexported fields
}

func NewCopyImage

func NewCopyImage(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CopyImage

func (*CopyImage) ExtractResult

func (cmd *CopyImage) ExtractResult(i interface{}) string

func (*CopyImage) ParamsSpec added in v0.1.9

func (cmd *CopyImage) ParamsSpec() params.Spec

func (*CopyImage) Run

func (cmd *CopyImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CopyImage) SetApi

func (cmd *CopyImage) SetApi(api ec2iface.EC2API)

type CopySnapshot

type CopySnapshot struct {
	SourceId     *string `awsName:"SourceSnapshotId" awsType:"awsstr" templateName:"source-id"`
	SourceRegion *string `awsName:"SourceRegion" awsType:"awsstr" templateName:"source-region"`
	Encrypted    *bool   `awsName:"Encrypted" awsType:"awsbool" templateName:"encrypted"`
	Description  *string `awsName:"Description" awsType:"awsstr" templateName:"description"`
	// contains filtered or unexported fields
}

func NewCopySnapshot

func NewCopySnapshot(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CopySnapshot

func (*CopySnapshot) ExtractResult

func (cmd *CopySnapshot) ExtractResult(i interface{}) string

func (*CopySnapshot) ParamsSpec added in v0.1.9

func (cmd *CopySnapshot) ParamsSpec() params.Spec

func (*CopySnapshot) Run

func (cmd *CopySnapshot) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CopySnapshot) SetApi

func (cmd *CopySnapshot) SetApi(api ec2iface.EC2API)

type CreateAccesskey

type CreateAccesskey struct {
	User *string `awsName:"UserName" awsType:"awsstr" templateName:"user"`
	Save *bool   `templateName:"save"`
	// contains filtered or unexported fields
}

func NewCreateAccesskey

func NewCreateAccesskey(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateAccesskey

func (*CreateAccesskey) AfterRun

func (cmd *CreateAccesskey) AfterRun(renv env.Running, output interface{}) error

func (*CreateAccesskey) ExtractResult

func (cmd *CreateAccesskey) ExtractResult(i interface{}) string

func (*CreateAccesskey) ParamsSpec added in v0.1.9

func (cmd *CreateAccesskey) ParamsSpec() params.Spec

func (*CreateAccesskey) Run

func (cmd *CreateAccesskey) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateAccesskey) SetApi

func (cmd *CreateAccesskey) SetApi(api iamiface.IAMAPI)

type CreateAlarm

type CreateAlarm struct {
	Name                    *string   `awsName:"AlarmName" awsType:"awsstr" templateName:"name"`
	Operator                *string   `awsName:"ComparisonOperator" awsType:"awsstr" templateName:"operator"`
	Metric                  *string   `awsName:"MetricName" awsType:"awsstr" templateName:"metric"`
	Namespace               *string   `awsName:"Namespace" awsType:"awsstr" templateName:"namespace"`
	EvaluationPeriods       *int64    `awsName:"EvaluationPeriods" awsType:"awsint64" templateName:"evaluation-periods"`
	Period                  *int64    `awsName:"Period" awsType:"awsint64" templateName:"period"`
	StatisticFunction       *string   `awsName:"Statistic" awsType:"awsstr" templateName:"statistic-function"`
	Threshold               *float64  `awsName:"Threshold" awsType:"awsfloat" templateName:"threshold"`
	Enabled                 *bool     `awsName:"ActionsEnabled" awsType:"awsbool" templateName:"enabled"`
	AlarmActions            []*string `awsName:"AlarmActions" awsType:"awsstringslice" templateName:"alarm-actions"`
	InsufficientdataActions []*string `awsName:"InsufficientDataActions" awsType:"awsstringslice" templateName:"insufficientdata-actions"`
	OkActions               []*string `awsName:"OKActions" awsType:"awsstringslice" templateName:"ok-actions"`
	Description             *string   `awsName:"AlarmDescription" awsType:"awsstr" templateName:"description"`
	Dimensions              []*string `awsName:"Dimensions" awsType:"awsdimensionslice" templateName:"dimensions"`
	Unit                    *string   `awsName:"Unit" awsType:"awsstr" templateName:"unit"`
	// contains filtered or unexported fields
}

func NewCreateAlarm

func NewCreateAlarm(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateAlarm

func (*CreateAlarm) ExtractResult

func (cmd *CreateAlarm) ExtractResult(i interface{}) string

func (*CreateAlarm) ParamsSpec added in v0.1.9

func (cmd *CreateAlarm) ParamsSpec() params.Spec

func (*CreateAlarm) Run

func (cmd *CreateAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateAlarm) SetApi

func (cmd *CreateAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)

type CreateAppscalingpolicy

type CreateAppscalingpolicy struct {
	Name                              *string   `awsName:"PolicyName" awsType:"awsstr" templateName:"name"`
	Type                              *string   `awsName:"PolicyType" awsType:"awsstr" templateName:"type"`
	Resource                          *string   `awsName:"ResourceId" awsType:"awsstr" templateName:"resource"`
	Dimension                         *string   `awsName:"ScalableDimension" awsType:"awsstr" templateName:"dimension"`
	ServiceNamespace                  *string   `awsName:"ServiceNamespace" awsType:"awsstr" templateName:"service-namespace"`
	StepscalingAdjustmentType         *string   `awsName:"StepScalingPolicyConfiguration.AdjustmentType" awsType:"awsstr" templateName:"stepscaling-adjustment-type"`
	StepscalingAdjustments            []*string `awsName:"StepScalingPolicyConfiguration.StepAdjustments" awsType:"awsstepadjustments" templateName:"stepscaling-adjustments"`
	StepscalingCooldown               *int64    `awsName:"StepScalingPolicyConfiguration.Cooldown" awsType:"awsint64" templateName:"stepscaling-cooldown"`
	StepscalingAggregationType        *string   `awsName:"StepScalingPolicyConfiguration.MetricAggregationType" awsType:"awsstr" templateName:"stepscaling-aggregation-type"`
	StepscalingMinAdjustmentMagnitude *int64    `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func NewCreateAppscalingpolicy

func NewCreateAppscalingpolicy(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateAppscalingpolicy

func (*CreateAppscalingpolicy) ExtractResult

func (cmd *CreateAppscalingpolicy) ExtractResult(i interface{}) string

func (*CreateAppscalingpolicy) ParamsSpec added in v0.1.9

func (cmd *CreateAppscalingpolicy) ParamsSpec() params.Spec

func (*CreateAppscalingpolicy) Run

func (cmd *CreateAppscalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateAppscalingpolicy) SetApi

type CreateAppscalingtarget

type CreateAppscalingtarget struct {
	MaxCapacity      *int64  `awsName:"MaxCapacity" awsType:"awsint64" templateName:"max-capacity"`
	MinCapacity      *int64  `awsName:"MinCapacity" awsType:"awsint64" templateName:"min-capacity"`
	Resource         *string `awsName:"ResourceId" awsType:"awsstr" templateName:"resource"`
	Role             *string `awsName:"RoleARN" awsType:"awsstr" templateName:"role"`
	Dimension        *string `awsName:"ScalableDimension" awsType:"awsstr" templateName:"dimension"`
	ServiceNamespace *string `awsName:"ServiceNamespace" awsType:"awsstr" templateName:"service-namespace"`
	// contains filtered or unexported fields
}

func NewCreateAppscalingtarget

func NewCreateAppscalingtarget(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateAppscalingtarget

func (*CreateAppscalingtarget) ParamsSpec added in v0.1.9

func (cmd *CreateAppscalingtarget) ParamsSpec() params.Spec

func (*CreateAppscalingtarget) Run

func (cmd *CreateAppscalingtarget) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateAppscalingtarget) SetApi

type CreateBucket

type CreateBucket struct {
	Name *string `awsName:"Bucket" awsType:"awsstr" templateName:"name"`
	Acl  *string `awsName:"ACL" awsType:"awsstr" templateName:"acl"`
	// contains filtered or unexported fields
}

func NewCreateBucket

func NewCreateBucket(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateBucket

func (*CreateBucket) ExtractResult

func (cmd *CreateBucket) ExtractResult(i interface{}) string

func (*CreateBucket) ParamsSpec added in v0.1.9

func (cmd *CreateBucket) ParamsSpec() params.Spec

func (*CreateBucket) Run

func (cmd *CreateBucket) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateBucket) SetApi

func (cmd *CreateBucket) SetApi(api s3iface.S3API)

type CreateCertificate

type CreateCertificate struct {
	Domains           []*string `templateName:"domains"`
	ValidationDomains []*string `templateName:"validation-domains"`
	// contains filtered or unexported fields
}

func NewCreateCertificate

func NewCreateCertificate(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateCertificate

func (*CreateCertificate) ExtractResult

func (cmd *CreateCertificate) ExtractResult(i interface{}) string

func (*CreateCertificate) ManualRun

func (cmd *CreateCertificate) ManualRun(renv env.Running) (interface{}, error)

func (*CreateCertificate) ParamsSpec added in v0.1.9

func (cmd *CreateCertificate) ParamsSpec() params.Spec

func (*CreateCertificate) Run

func (cmd *CreateCertificate) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateCertificate) SetApi

func (cmd *CreateCertificate) SetApi(api acmiface.ACMAPI)

type CreateClassicLoadbalancer added in v0.1.11

type CreateClassicLoadbalancer struct {
	Name                  *string   `awsName:"LoadBalancerName" awsType:"awsstr" templateName:"name"`
	AvailabilityZones     []*string `awsName:"AvailabilityZones" awsType:"awsstringslice" templateName:"zones"`
	Listeners             []*string `awsName:"Listeners" awsType:"awsclassicloadblisteners" templateName:"listeners"`
	Subnets               []*string `awsName:"Subnets" awsType:"awsstringslice" templateName:"subnets"`
	Securitygroups        []*string `awsName:"SecurityGroups" awsType:"awsstringslice" templateName:"securitygroups"`
	Scheme                *string   `awsName:"Scheme" awsType:"awsstr" templateName:"scheme"`
	Tags                  []*string `awsName:"Tags" awsType:"awstagslice" templateName:"tags"`
	HealthCheckPathToPing string    `awsType:"awsstr" templateName:"healthcheck-path"`
	// contains filtered or unexported fields
}

func NewCreateClassicLoadbalancer added in v0.1.11

func NewCreateClassicLoadbalancer(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateClassicLoadbalancer

func (*CreateClassicLoadbalancer) AfterRun added in v0.1.11

func (cmd *CreateClassicLoadbalancer) AfterRun(renv env.Running, output interface{}) (err error)

func (*CreateClassicLoadbalancer) ExtractResult added in v0.1.11

func (cmd *CreateClassicLoadbalancer) ExtractResult(i interface{}) string

func (*CreateClassicLoadbalancer) ParamsSpec added in v0.1.11

func (cmd *CreateClassicLoadbalancer) ParamsSpec() params.Spec

func (*CreateClassicLoadbalancer) Run added in v0.1.11

func (cmd *CreateClassicLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateClassicLoadbalancer) SetApi added in v0.1.11

func (cmd *CreateClassicLoadbalancer) SetApi(api elbiface.ELBAPI)

type CreateContainercluster

type CreateContainercluster struct {
	Name *string `awsName:"ClusterName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewCreateContainercluster

func NewCreateContainercluster(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateContainercluster

func (*CreateContainercluster) ExtractResult

func (cmd *CreateContainercluster) ExtractResult(i interface{}) string

func (*CreateContainercluster) ParamsSpec added in v0.1.9

func (cmd *CreateContainercluster) ParamsSpec() params.Spec

func (*CreateContainercluster) Run

func (cmd *CreateContainercluster) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateContainercluster) SetApi

func (cmd *CreateContainercluster) SetApi(api ecsiface.ECSAPI)

type CreateDatabase

type CreateDatabase struct {

	// Required for DB
	Type     *string `awsName:"DBInstanceClass" awsType:"awsstr" templateName:"type"`
	Id       *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"`
	Engine   *string `awsName:"Engine" awsType:"awsstr" templateName:"engine"`
	Password *string `awsName:"MasterUserPassword" awsType:"awsstr" templateName:"password"`
	Username *string `awsName:"MasterUsername" awsType:"awsstr" templateName:"username"`
	Size     *int64  `awsName:"AllocatedStorage" awsType:"awsint64" templateName:"size"`

	// Required for read replica DB
	ReadReplicaSourceDB   *string `awsName:"SourceDBInstanceIdentifier" awsType:"awsstr" templateName:"replica-source"`
	ReadReplicaIdentifier *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"replica"`

	// Extras common to both replica DB and source DB
	Autoupgrade      *bool   `awsName:"AutoMinorVersionUpgrade" awsType:"awsbool" templateName:"autoupgrade"`
	Availabilityzone *string `awsName:"AvailabilityZone" awsType:"awsstr" templateName:"availabilityzone"`
	Subnetgroup      *string `awsName:"DBSubnetGroupName" awsType:"awsstr" templateName:"subnetgroup"`
	Iops             *int64  `awsName:"Iops" awsType:"awsint64" templateName:"iops"`
	Optiongroup      *string `awsName:"OptionGroupName" awsType:"awsstr" templateName:"optiongroup"`
	Port             *int64  `awsName:"Port" awsType:"awsint64" templateName:"port"`
	Public           *bool   `awsName:"PubliclyAccessible" awsType:"awsbool" templateName:"public"`
	Storagetype      *string `awsName:"StorageType" awsType:"awsstr" templateName:"storagetype"`

	// Extra only for DB
	Backupretention   *int64    `awsName:"BackupRetentionPeriod" awsType:"awsint64" templateName:"backupretention"`
	Backupwindow      *string   `awsName:"PreferredBackupWindow" awsType:"awsstr" templateName:"backupwindow"`
	Cluster           *string   `awsName:"DBClusterIdentifier" awsType:"awsstr" templateName:"cluster"`
	Dbname            *string   `awsName:"DBName" awsType:"awsstr" templateName:"dbname"`
	Dbsecuritygroups  []*string `awsName:"DBSecurityGroups" awsType:"awsstringslice" templateName:"dbsecuritygroups"`
	Domain            *string   `awsName:"Domain" awsType:"awsstr" templateName:"domain"`
	Encrypted         *bool     `awsName:"StorageEncrypted" awsType:"awsbool" templateName:"encrypted"`
	Iamrole           *string   `awsName:"DomainIAMRoleName" awsType:"awsstr" templateName:"iamrole"`
	License           *string   `awsName:"LicenseModel" awsType:"awsstr" templateName:"license"`
	Maintenancewindow *string   `awsName:"PreferredMaintenanceWindow" awsType:"awsstr" templateName:"maintenancewindow"`
	Multiaz           *bool     `awsName:"MultiAZ" awsType:"awsbool" templateName:"multiaz"`
	Parametergroup    *string   `awsName:"DBParameterGroupName" awsType:"awsstr" templateName:"parametergroup"`
	Timezone          *string   `awsName:"Timezone" awsType:"awsstr" templateName:"timezone"`
	Vpcsecuritygroups []*string `awsName:"VpcSecurityGroupIds" awsType:"awsstringslice" templateName:"vpcsecuritygroups"`
	Version           *string   `awsName:"EngineVersion" awsType:"awsstr" templateName:"version"`

	// Extra only for replica DB
	CopyTagsToSnapshot *string `awsName:"CopyTagsToSnapshot" awsType:"awsbool" templateName:"copytagstosnapshot"`
	// contains filtered or unexported fields
}

func NewCreateDatabase

func NewCreateDatabase(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateDatabase

func (*CreateDatabase) ExtractResult

func (cmd *CreateDatabase) ExtractResult(i interface{}) string

func (*CreateDatabase) ManualRun added in v0.1.8

func (cmd *CreateDatabase) ManualRun(renv env.Running) (output interface{}, err error)

func (*CreateDatabase) ParamsSpec added in v0.1.9

func (cmd *CreateDatabase) ParamsSpec() params.Spec

func (*CreateDatabase) Run

func (cmd *CreateDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateDatabase) SetApi

func (cmd *CreateDatabase) SetApi(api rdsiface.RDSAPI)

type CreateDbsubnetgroup

type CreateDbsubnetgroup struct {
	Name        *string   `awsName:"DBSubnetGroupName" awsType:"awsstr" templateName:"name"`
	Description *string   `awsName:"DBSubnetGroupDescription" awsType:"awsstr" templateName:"description"`
	Subnets     []*string `awsName:"SubnetIds" awsType:"awsstringslice" templateName:"subnets"`
	// contains filtered or unexported fields
}

func NewCreateDbsubnetgroup

func NewCreateDbsubnetgroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateDbsubnetgroup

func (*CreateDbsubnetgroup) ExtractResult

func (cmd *CreateDbsubnetgroup) ExtractResult(i interface{}) string

func (*CreateDbsubnetgroup) ParamsSpec added in v0.1.9

func (cmd *CreateDbsubnetgroup) ParamsSpec() params.Spec

func (*CreateDbsubnetgroup) Run

func (cmd *CreateDbsubnetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateDbsubnetgroup) SetApi

func (cmd *CreateDbsubnetgroup) SetApi(api rdsiface.RDSAPI)

type CreateDistribution

type CreateDistribution struct {
	OriginDomain   *string   `templateName:"origin-domain"`
	Certificate    *string   `templateName:"certificate"`
	Comment        *string   `templateName:"comment"`
	DefaultFile    *string   `templateName:"default-file"`
	DomainAliases  []*string `templateName:"domain-aliases"`
	Enable         *bool     `templateName:"enable"`
	ForwardCookies *string   `templateName:"forward-cookies"`
	ForwardQueries *bool     `templateName:"forward-queries"`
	HttpsBehaviour *string   `templateName:"https-behaviour"`
	OriginPath     *string   `templateName:"origin-path"`
	PriceClass     *string   `templateName:"price-class"`
	MinTtl         *int64    `templateName:"min-ttl"`
	// contains filtered or unexported fields
}

func NewCreateDistribution

func NewCreateDistribution(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateDistribution

func (*CreateDistribution) ExtractResult

func (cmd *CreateDistribution) ExtractResult(i interface{}) string

func (*CreateDistribution) ManualRun

func (cmd *CreateDistribution) ManualRun(renv env.Running) (interface{}, error)

func (*CreateDistribution) ParamsSpec added in v0.1.9

func (cmd *CreateDistribution) ParamsSpec() params.Spec

func (*CreateDistribution) Run

func (cmd *CreateDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateDistribution) SetApi

type CreateElasticip

type CreateElasticip struct {
	Domain *string `awsName:"Domain" awsType:"awsstr" templateName:"domain"`
	// contains filtered or unexported fields
}

func NewCreateElasticip

func NewCreateElasticip(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateElasticip

func (*CreateElasticip) ExtractResult

func (cmd *CreateElasticip) ExtractResult(i interface{}) string

func (*CreateElasticip) ParamsSpec added in v0.1.9

func (cmd *CreateElasticip) ParamsSpec() params.Spec

func (*CreateElasticip) Run

func (cmd *CreateElasticip) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateElasticip) SetApi

func (cmd *CreateElasticip) SetApi(api ec2iface.EC2API)

type CreateFunction

type CreateFunction struct {
	Name          *string `awsName:"FunctionName" awsType:"awsstr" templateName:"name"`
	Handler       *string `awsName:"Handler" awsType:"awsstr" templateName:"handler"`
	Role          *string `awsName:"Role" awsType:"awsstr" templateName:"role"`
	Runtime       *string `awsName:"Runtime" awsType:"awsstr" templateName:"runtime"`
	Bucket        *string `awsName:"Code.S3Bucket" awsType:"awsstr" templateName:"bucket"`
	Object        *string `awsName:"Code.S3Key" awsType:"awsstr" templateName:"object"`
	Objectversion *string `awsName:"Code.S3ObjectVersion" awsType:"awsstr" templateName:"objectversion"`
	Zipfile       *string `awsName:"Code.ZipFile" awsType:"awsfiletobyteslice" templateName:"zipfile"`
	Description   *string `awsName:"Description" awsType:"awsstr" templateName:"description"`
	Memory        *int64  `awsName:"MemorySize" awsType:"awsint64" templateName:"memory"`
	Publish       *bool   `awsName:"Publish" awsType:"awsbool" templateName:"publish"`
	Timeout       *int64  `awsName:"Timeout" awsType:"awsint64" templateName:"timeout"`
	// contains filtered or unexported fields
}

func NewCreateFunction

func NewCreateFunction(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateFunction

func (*CreateFunction) ExtractResult

func (cmd *CreateFunction) ExtractResult(i interface{}) string

func (*CreateFunction) ParamsSpec added in v0.1.9

func (cmd *CreateFunction) ParamsSpec() params.Spec

func (*CreateFunction) Run

func (cmd *CreateFunction) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateFunction) SetApi

func (cmd *CreateFunction) SetApi(api lambdaiface.LambdaAPI)

type CreateGroup

type CreateGroup struct {
	Name *string `awsName:"GroupName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewCreateGroup

func NewCreateGroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateGroup

func (*CreateGroup) ExtractResult

func (cmd *CreateGroup) ExtractResult(i interface{}) string

func (*CreateGroup) ParamsSpec added in v0.1.9

func (cmd *CreateGroup) ParamsSpec() params.Spec

func (*CreateGroup) Run

func (cmd *CreateGroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateGroup) SetApi

func (cmd *CreateGroup) SetApi(api iamiface.IAMAPI)

type CreateImage added in v0.1.9

type CreateImage struct {
	Name        *string `awsName:"Name" awsType:"awsstr" templateName:"name"`
	Instance    *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"`
	Reboot      *bool   `awsName:"NoReboot" awsType:"awsbool" templateName:"reboot"`
	Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"`
	// contains filtered or unexported fields
}

func NewCreateImage added in v0.1.9

func NewCreateImage(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateImage

func (*CreateImage) BeforeRun added in v0.1.9

func (cmd *CreateImage) BeforeRun(renv env.Running) error

func (*CreateImage) ExtractResult added in v0.1.9

func (cmd *CreateImage) ExtractResult(i interface{}) string

func (*CreateImage) ParamsSpec added in v0.1.9

func (cmd *CreateImage) ParamsSpec() params.Spec

func (*CreateImage) Run added in v0.1.9

func (cmd *CreateImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateImage) SetApi added in v0.1.9

func (cmd *CreateImage) SetApi(api ec2iface.EC2API)

type CreateInstance

type CreateInstance struct {
	Image          *string   `awsName:"ImageId" awsType:"awsstr" templateName:"image"`
	Count          *int64    `awsName:"MaxCount,MinCount" awsType:"awsin64" templateName:"count"`
	Type           *string   `awsName:"InstanceType" awsType:"awsstr" templateName:"type"`
	Name           *string   `templateName:"name"`
	Subnet         *string   `awsName:"SubnetId" awsType:"awsstr" templateName:"subnet"`
	Keypair        *string   `awsName:"KeyName" awsType:"awsstr" templateName:"keypair"`
	PrivateIP      *string   `awsName:"PrivateIpAddress" awsType:"awsstr" templateName:"ip"`
	UserData       *string   `awsName:"UserData" awsType:"awsuserdatatobase64" templateName:"userdata"`
	SecurityGroups []*string `awsName:"SecurityGroupIds" awsType:"awsstringslice" templateName:"securitygroup"`
	Lock           *bool     `awsName:"DisableApiTermination" awsType:"awsbool" templateName:"lock"`
	Role           *string   `awsName:"IamInstanceProfile.Name" awsType:"awsstr" templateName:"role"`
	DistroQuery    *string   `awsType:"awsstr" templateName:"distro"`
	// contains filtered or unexported fields
}

func NewCreateInstance

func NewCreateInstance(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateInstance

func (*CreateInstance) AfterRun

func (cmd *CreateInstance) AfterRun(renv env.Running, output interface{}) error

func (*CreateInstance) ExtractResult

func (cmd *CreateInstance) ExtractResult(i interface{}) string

func (*CreateInstance) ParamsSpec added in v0.1.9

func (cmd *CreateInstance) ParamsSpec() params.Spec

func (*CreateInstance) Run

func (cmd *CreateInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateInstance) SetApi

func (cmd *CreateInstance) SetApi(api ec2iface.EC2API)

type CreateInstanceprofile

type CreateInstanceprofile struct {
	Name *string `awsName:"InstanceProfileName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewCreateInstanceprofile

func NewCreateInstanceprofile(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateInstanceprofile

func (*CreateInstanceprofile) ParamsSpec added in v0.1.9

func (cmd *CreateInstanceprofile) ParamsSpec() params.Spec

func (*CreateInstanceprofile) Run

func (cmd *CreateInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateInstanceprofile) SetApi

func (cmd *CreateInstanceprofile) SetApi(api iamiface.IAMAPI)

type CreateInternetgateway

type CreateInternetgateway struct {
	// contains filtered or unexported fields
}

func NewCreateInternetgateway

func NewCreateInternetgateway(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateInternetgateway

func (*CreateInternetgateway) ExtractResult

func (cmd *CreateInternetgateway) ExtractResult(i interface{}) string

func (*CreateInternetgateway) ParamsSpec added in v0.1.9

func (cmd *CreateInternetgateway) ParamsSpec() params.Spec

func (*CreateInternetgateway) Run

func (cmd *CreateInternetgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateInternetgateway) SetApi

func (cmd *CreateInternetgateway) SetApi(api ec2iface.EC2API)

type CreateKeypair

type CreateKeypair struct {
	Name              *string `awsName:"KeyName" awsType:"awsstr" templateName:"name"`
	Encrypted         *bool   `templateName:"encrypted"`
	PublicKeyMaterial []byte  `awsName:"PublicKeyMaterial" awsType:"awsbyteslice"`
	// contains filtered or unexported fields
}

func NewCreateKeypair

func NewCreateKeypair(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateKeypair

func (*CreateKeypair) BeforeRun

func (cmd *CreateKeypair) BeforeRun(renv env.Running) error

func (*CreateKeypair) ExtractResult

func (cmd *CreateKeypair) ExtractResult(i interface{}) string

func (*CreateKeypair) ParamsSpec added in v0.1.9

func (cmd *CreateKeypair) ParamsSpec() params.Spec

func (*CreateKeypair) Run

func (cmd *CreateKeypair) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateKeypair) SetApi

func (cmd *CreateKeypair) SetApi(api ec2iface.EC2API)

type CreateLaunchconfiguration

type CreateLaunchconfiguration struct {
	Image          *string   `awsName:"ImageId" awsType:"awsstr" templateName:"image"`
	Type           *string   `awsName:"InstanceType" awsType:"awsstr" templateName:"type"`
	Name           *string   `awsName:"LaunchConfigurationName" awsType:"awsstr" templateName:"name"`
	Public         *bool     `awsName:"AssociatePublicIpAddress" awsType:"awsbool" templateName:"public"`
	Keypair        *string   `awsName:"KeyName" awsType:"awsstr" templateName:"keypair"`
	Userdata       *string   `awsName:"UserData" awsType:"awsuserdatatobase64" templateName:"userdata"`
	Securitygroups []*string `awsName:"SecurityGroups" awsType:"awsstringslice" templateName:"securitygroups"`
	Role           *string   `awsName:"IamInstanceProfile" awsType:"awsstr" templateName:"role"`
	Spotprice      *string   `awsName:"SpotPrice" awsType:"awsstr" templateName:"spotprice"`
	DistroQuery    *string   `awsType:"awsstr" templateName:"distro"`
	// contains filtered or unexported fields
}

func NewCreateLaunchconfiguration

func NewCreateLaunchconfiguration(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateLaunchconfiguration

func (*CreateLaunchconfiguration) ExtractResult

func (cmd *CreateLaunchconfiguration) ExtractResult(i interface{}) string

func (*CreateLaunchconfiguration) ParamsSpec added in v0.1.9

func (cmd *CreateLaunchconfiguration) ParamsSpec() params.Spec

func (*CreateLaunchconfiguration) Run

func (cmd *CreateLaunchconfiguration) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateLaunchconfiguration) SetApi

type CreateListener

type CreateListener struct {
	Actiontype   *string `awsName:"DefaultActions[0]Type" awsType:"awsslicestruct" templateName:"actiontype"`
	Targetgroup  *string `awsName:"DefaultActions[0]TargetGroupArn" awsType:"awsslicestruct" templateName:"targetgroup"`
	Loadbalancer *string `awsName:"LoadBalancerArn" awsType:"awsstr" templateName:"loadbalancer"`
	Port         *int64  `awsName:"Port" awsType:"awsint64" templateName:"port"`
	Protocol     *string `awsName:"Protocol" awsType:"awsstr" templateName:"protocol"`
	Certificate  *string `awsName:"Certificates[0]CertificateArn" awsType:"awsslicestruct" templateName:"certificate"`
	Sslpolicy    *string `awsName:"SslPolicy" awsType:"awsstr" templateName:"sslpolicy"`
	// contains filtered or unexported fields
}

func NewCreateListener

func NewCreateListener(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateListener

func (*CreateListener) ExtractResult

func (cmd *CreateListener) ExtractResult(i interface{}) string

func (*CreateListener) ParamsSpec added in v0.1.9

func (cmd *CreateListener) ParamsSpec() params.Spec

func (*CreateListener) Run

func (cmd *CreateListener) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateListener) SetApi

func (cmd *CreateListener) SetApi(api elbv2iface.ELBV2API)

type CreateLoadbalancer

type CreateLoadbalancer struct {
	Name           *string   `awsName:"Name" awsType:"awsstr" templateName:"name"`
	Subnets        []*string `awsName:"Subnets" awsType:"awsstringslice" templateName:"subnets"`
	SubnetMappings []*string `awsName:"SubnetMappings" awsType:"awssubnetmappings" templateName:"subnet-mappings"`
	Iptype         *string   `awsName:"IpAddressType" awsType:"awsstr" templateName:"iptype"`
	Scheme         *string   `awsName:"Scheme" awsType:"awsstr" templateName:"scheme"`
	Securitygroups []*string `awsName:"SecurityGroups" awsType:"awsstringslice" templateName:"securitygroups"`
	Type           *string   `awsName:"Type" awsType:"awsstr" templateName:"type"`
	// contains filtered or unexported fields
}

func NewCreateLoadbalancer

func NewCreateLoadbalancer(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateLoadbalancer

func (*CreateLoadbalancer) ExtractResult

func (cmd *CreateLoadbalancer) ExtractResult(i interface{}) string

func (*CreateLoadbalancer) ParamsSpec added in v0.1.9

func (cmd *CreateLoadbalancer) ParamsSpec() params.Spec

func (*CreateLoadbalancer) Run

func (cmd *CreateLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateLoadbalancer) SetApi

func (cmd *CreateLoadbalancer) SetApi(api elbv2iface.ELBV2API)

type CreateLoginprofile

type CreateLoginprofile struct {
	Username      *string `awsName:"UserName" awsType:"awsstr" templateName:"username"`
	Password      *string `awsName:"Password" awsType:"awsstr" templateName:"password"`
	PasswordReset *bool   `awsName:"PasswordResetRequired" awsType:"awsbool" templateName:"password-reset"`
	// contains filtered or unexported fields
}

func NewCreateLoginprofile

func NewCreateLoginprofile(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateLoginprofile

func (*CreateLoginprofile) ExtractResult

func (cmd *CreateLoginprofile) ExtractResult(i interface{}) string

func (*CreateLoginprofile) ParamsSpec added in v0.1.9

func (cmd *CreateLoginprofile) ParamsSpec() params.Spec

func (*CreateLoginprofile) Run

func (cmd *CreateLoginprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateLoginprofile) SetApi

func (cmd *CreateLoginprofile) SetApi(api iamiface.IAMAPI)

type CreateMfadevice

type CreateMfadevice struct {
	Name *string `templateName:"name"`
	// contains filtered or unexported fields
}

func NewCreateMfadevice

func NewCreateMfadevice(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateMfadevice

func (*CreateMfadevice) ExtractResult

func (cmd *CreateMfadevice) ExtractResult(i interface{}) string

func (*CreateMfadevice) ManualRun

func (cmd *CreateMfadevice) ManualRun(renv env.Running) (interface{}, error)

func (*CreateMfadevice) ParamsSpec added in v0.1.9

func (cmd *CreateMfadevice) ParamsSpec() params.Spec

func (*CreateMfadevice) Run

func (cmd *CreateMfadevice) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateMfadevice) SetApi

func (cmd *CreateMfadevice) SetApi(api iamiface.IAMAPI)

type CreateNatgateway

type CreateNatgateway struct {
	ElasticipId *string `awsName:"AllocationId" awsType:"awsstr" templateName:"elasticip-id"`
	Subnet      *string `awsName:"SubnetId" awsType:"awsstr" templateName:"subnet"`
	// contains filtered or unexported fields
}

func NewCreateNatgateway

func NewCreateNatgateway(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateNatgateway

func (*CreateNatgateway) ExtractResult

func (cmd *CreateNatgateway) ExtractResult(i interface{}) string

func (*CreateNatgateway) ParamsSpec added in v0.1.9

func (cmd *CreateNatgateway) ParamsSpec() params.Spec

func (*CreateNatgateway) Run

func (cmd *CreateNatgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateNatgateway) SetApi

func (cmd *CreateNatgateway) SetApi(api ec2iface.EC2API)

type CreateNetworkinterface

type CreateNetworkinterface struct {
	Subnet         *string   `awsName:"SubnetId" awsType:"awsstr" templateName:"subnet"`
	Description    *string   `awsName:"Description" awsType:"awsstr" templateName:"description"`
	Securitygroups []*string `awsName:"Groups" awsType:"awsstringslice" templateName:"securitygroups"`
	Privateip      *string   `awsName:"PrivateIpAddress" awsType:"awsstr" templateName:"privateip"`
	// contains filtered or unexported fields
}

func NewCreateNetworkinterface

func NewCreateNetworkinterface(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateNetworkinterface

func (*CreateNetworkinterface) ExtractResult

func (cmd *CreateNetworkinterface) ExtractResult(i interface{}) string

func (*CreateNetworkinterface) ParamsSpec added in v0.1.9

func (cmd *CreateNetworkinterface) ParamsSpec() params.Spec

func (*CreateNetworkinterface) Run

func (cmd *CreateNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateNetworkinterface) SetApi

func (cmd *CreateNetworkinterface) SetApi(api ec2iface.EC2API)

type CreatePolicy

type CreatePolicy struct {
	Name        *string   `awsName:"PolicyName" awsType:"awsstr" templateName:"name"`
	Effect      *string   `templateName:"effect"`
	Action      []*string `templateName:"action"`
	Resource    []*string `templateName:"resource"`
	Description *string   `awsName:"Description" awsType:"awsstr" templateName:"description"`
	Document    *string   `awsName:"PolicyDocument" awsType:"awsstr"`
	Conditions  []*string `templateName:"conditions"`
	// contains filtered or unexported fields
}

func NewCreatePolicy

func NewCreatePolicy(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreatePolicy

func (*CreatePolicy) BeforeRun

func (cmd *CreatePolicy) BeforeRun(renv env.Running) error

func (*CreatePolicy) ExtractResult

func (cmd *CreatePolicy) ExtractResult(i interface{}) string

func (*CreatePolicy) ParamsSpec added in v0.1.9

func (cmd *CreatePolicy) ParamsSpec() params.Spec

func (*CreatePolicy) Run

func (cmd *CreatePolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreatePolicy) SetApi

func (cmd *CreatePolicy) SetApi(api iamiface.IAMAPI)

type CreateQueue

type CreateQueue struct {
	Name              *string `awsName:"QueueName" awsType:"awsstr" templateName:"name"`
	Delay             *string `awsName:"Attributes[DelaySeconds]" awsType:"awsstringpointermap" templateName:"delay"`
	MaxMsgSize        *string `awsName:"Attributes[MaximumMessageSize]" awsType:"awsstringpointermap" templateName:"max-msg-size"`
	RetentionPeriod   *string `awsName:"Attributes[MessageRetentionPeriod]" awsType:"awsstringpointermap" templateName:"retention-period"`
	Policy            *string `awsName:"Attributes[Policy]" awsType:"awsstringpointermap" templateName:"policy"`
	MsgWait           *string `awsName:"Attributes[ReceiveMessageWaitTimeSeconds]" awsType:"awsstringpointermap" templateName:"msg-wait"`
	RedrivePolicy     *string `awsName:"Attributes[RedrivePolicy]" awsType:"awsstringpointermap" templateName:"redrive-policy"`
	VisibilityTimeout *string `awsName:"Attributes[VisibilityTimeout]" awsType:"awsstringpointermap" templateName:"visibility-timeout"`
	// contains filtered or unexported fields
}

func NewCreateQueue

func NewCreateQueue(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateQueue

func (*CreateQueue) ExtractResult

func (cmd *CreateQueue) ExtractResult(i interface{}) string

func (*CreateQueue) ParamsSpec added in v0.1.9

func (cmd *CreateQueue) ParamsSpec() params.Spec

func (*CreateQueue) Run

func (cmd *CreateQueue) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateQueue) SetApi

func (cmd *CreateQueue) SetApi(api sqsiface.SQSAPI)

type CreateRecord

type CreateRecord struct {
	Zone    *string   `templateName:"zone"`
	Name    *string   `templateName:"name"`
	Type    *string   `templateName:"type"`
	Values  []*string `templateName:"values"`
	Ttl     *int64    `templateName:"ttl"`
	Comment *string   `templateName:"comment"`
	// contains filtered or unexported fields
}

func NewCreateRecord

func NewCreateRecord(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateRecord

func (*CreateRecord) ExtractResult

func (cmd *CreateRecord) ExtractResult(i interface{}) string

func (*CreateRecord) ManualRun

func (cmd *CreateRecord) ManualRun(renv env.Running) (interface{}, error)

func (*CreateRecord) ParamsSpec added in v0.1.9

func (cmd *CreateRecord) ParamsSpec() params.Spec

func (*CreateRecord) Run

func (cmd *CreateRecord) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateRecord) SetApi

func (cmd *CreateRecord) SetApi(api route53iface.Route53API)

type CreateRepository

type CreateRepository struct {
	Name *string `awsName:"RepositoryName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewCreateRepository

func NewCreateRepository(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateRepository

func (*CreateRepository) ExtractResult

func (cmd *CreateRepository) ExtractResult(i interface{}) string

func (*CreateRepository) ParamsSpec added in v0.1.9

func (cmd *CreateRepository) ParamsSpec() params.Spec

func (*CreateRepository) Run

func (cmd *CreateRepository) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateRepository) SetApi

func (cmd *CreateRepository) SetApi(api ecriface.ECRAPI)

type CreateRole

type CreateRole struct {
	Name             *string   `awsName:"RoleName" awsType:"awsstr" templateName:"name" `
	PrincipalAccount *string   `templateName:"principal-account"`
	PrincipalUser    *string   `templateName:"principal-user"`
	PrincipalService *string   `templateName:"principal-service"`
	Conditions       []*string `templateName:"conditions"`
	SleepAfter       *int64    `templateName:"sleep-after"`
	// contains filtered or unexported fields
}

func NewCreateRole

func NewCreateRole(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateRole

func (*CreateRole) ExtractResult

func (cmd *CreateRole) ExtractResult(i interface{}) string

func (*CreateRole) ManualRun

func (cmd *CreateRole) ManualRun(renv env.Running) (interface{}, error)

func (*CreateRole) ParamsSpec added in v0.1.9

func (cmd *CreateRole) ParamsSpec() params.Spec

func (*CreateRole) Run

func (cmd *CreateRole) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateRole) SetApi

func (cmd *CreateRole) SetApi(api iamiface.IAMAPI)

type CreateRoute

type CreateRoute struct {
	Table   *string `awsName:"RouteTableId" awsType:"awsstr" templateName:"table"`
	CIDR    *string `awsName:"DestinationCidrBlock" awsType:"awsstr" templateName:"cidr"`
	Gateway *string `awsName:"GatewayId" awsType:"awsstr" templateName:"gateway"`
	// contains filtered or unexported fields
}

func NewCreateRoute

func NewCreateRoute(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateRoute

func (*CreateRoute) ParamsSpec added in v0.1.9

func (cmd *CreateRoute) ParamsSpec() params.Spec

func (*CreateRoute) Run

func (cmd *CreateRoute) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateRoute) SetApi

func (cmd *CreateRoute) SetApi(api ec2iface.EC2API)

type CreateRoutetable

type CreateRoutetable struct {
	Vpc *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"`
	// contains filtered or unexported fields
}

func NewCreateRoutetable

func NewCreateRoutetable(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateRoutetable

func (*CreateRoutetable) ExtractResult

func (cmd *CreateRoutetable) ExtractResult(i interface{}) string

func (*CreateRoutetable) ParamsSpec added in v0.1.9

func (cmd *CreateRoutetable) ParamsSpec() params.Spec

func (*CreateRoutetable) Run

func (cmd *CreateRoutetable) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateRoutetable) SetApi

func (cmd *CreateRoutetable) SetApi(api ec2iface.EC2API)

type CreateS3object

type CreateS3object struct {
	Bucket *string `awsName:"Bucket" awsType:"awsstr" templateName:"bucket"`
	File   *string `awsName:"Body" awsType:"awsstr" templateName:"file"`
	Name   *string `awsName:"Key" awsType:"awsstr" templateName:"name"`
	Acl    *string `awsName:"ACL" awsType:"awsstr" templateName:"acl"`
	// contains filtered or unexported fields
}

func NewCreateS3object

func NewCreateS3object(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateS3object

func (*CreateS3object) ExtractResult

func (cmd *CreateS3object) ExtractResult(i interface{}) string

func (*CreateS3object) ManualRun

func (cmd *CreateS3object) ManualRun(env.Running) (interface{}, error)

func (*CreateS3object) ParamsSpec added in v0.1.9

func (cmd *CreateS3object) ParamsSpec() params.Spec

func (*CreateS3object) Run

func (cmd *CreateS3object) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateS3object) SetApi

func (cmd *CreateS3object) SetApi(api s3iface.S3API)

type CreateScalinggroup

type CreateScalinggroup struct {
	Name                   *string   `awsName:"AutoScalingGroupName" awsType:"awsstr" templateName:"name"`
	Launchconfiguration    *string   `awsName:"LaunchConfigurationName" awsType:"awsstr" templateName:"launchconfiguration"`
	MaxSize                *int64    `awsName:"MaxSize" awsType:"awsint64" templateName:"max-size"`
	MinSize                *int64    `awsName:"MinSize" awsType:"awsint64" templateName:"min-size"`
	Subnets                []*string `awsName:"VPCZoneIdentifier" awsType:"awscsvstr" templateName:"subnets"`
	Cooldown               *int64    `awsName:"DefaultCooldown" awsType:"awsint64" templateName:"cooldown"`
	DesiredCapacity        *int64    `awsName:"DesiredCapacity" awsType:"awsint64" templateName:"desired-capacity"`
	HealthcheckGracePeriod *int64    `awsName:"HealthCheckGracePeriod" awsType:"awsint64" templateName:"healthcheck-grace-period"`
	HealthcheckType        *string   `awsName:"HealthCheckType" awsType:"awsstr" templateName:"healthcheck-type"`
	NewInstancesProtected  *bool     `awsName:"NewInstancesProtectedFromScaleIn" awsType:"awsbool" templateName:"new-instances-protected"`
	Targetgroups           []*string `awsName:"TargetGroupARNs" awsType:"awsstringslice" templateName:"targetgroups"`
	// contains filtered or unexported fields
}

func NewCreateScalinggroup

func NewCreateScalinggroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateScalinggroup

func (*CreateScalinggroup) ExtractResult

func (cmd *CreateScalinggroup) ExtractResult(i interface{}) string

func (*CreateScalinggroup) ParamsSpec added in v0.1.9

func (cmd *CreateScalinggroup) ParamsSpec() params.Spec

func (*CreateScalinggroup) Run

func (cmd *CreateScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateScalinggroup) SetApi

type CreateScalingpolicy

type CreateScalingpolicy struct {
	AdjustmentType      *string `awsName:"AdjustmentType" awsType:"awsstr" templateName:"adjustment-type"`
	Scalinggroup        *string `awsName:"AutoScalingGroupName" awsType:"awsstr" templateName:"scalinggroup"`
	Name                *string `awsName:"PolicyName" awsType:"awsstr" templateName:"name"`
	AdjustmentScaling   *int64  `awsName:"ScalingAdjustment" awsType:"awsint64" templateName:"adjustment-scaling"`
	Cooldown            *int64  `awsName:"Cooldown" awsType:"awsint64" templateName:"cooldown"`
	AdjustmentMagnitude *int64  `awsName:"MinAdjustmentMagnitude" awsType:"awsint64" templateName:"adjustment-magnitude"`
	// contains filtered or unexported fields
}

func NewCreateScalingpolicy

func NewCreateScalingpolicy(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateScalingpolicy

func (*CreateScalingpolicy) ExtractResult

func (cmd *CreateScalingpolicy) ExtractResult(i interface{}) string

func (*CreateScalingpolicy) ParamsSpec added in v0.1.9

func (cmd *CreateScalingpolicy) ParamsSpec() params.Spec

func (*CreateScalingpolicy) Run

func (cmd *CreateScalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateScalingpolicy) SetApi

type CreateSecuritygroup

type CreateSecuritygroup struct {
	Name        *string `awsName:"GroupName" awsType:"awsstr" templateName:"name"`
	Vpc         *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"`
	Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"`
	// contains filtered or unexported fields
}

func NewCreateSecuritygroup

func NewCreateSecuritygroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateSecuritygroup

func (*CreateSecuritygroup) ExtractResult

func (cmd *CreateSecuritygroup) ExtractResult(i interface{}) string

func (*CreateSecuritygroup) ParamsSpec added in v0.1.9

func (cmd *CreateSecuritygroup) ParamsSpec() params.Spec

func (*CreateSecuritygroup) Run

func (cmd *CreateSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateSecuritygroup) SetApi

func (cmd *CreateSecuritygroup) SetApi(api ec2iface.EC2API)

type CreateSnapshot

type CreateSnapshot struct {
	Volume      *string `awsName:"VolumeId" awsType:"awsstr" templateName:"volume"`
	Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"`
	// contains filtered or unexported fields
}

func NewCreateSnapshot

func NewCreateSnapshot(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateSnapshot

func (*CreateSnapshot) ExtractResult

func (cmd *CreateSnapshot) ExtractResult(i interface{}) string

func (*CreateSnapshot) ParamsSpec added in v0.1.9

func (cmd *CreateSnapshot) ParamsSpec() params.Spec

func (*CreateSnapshot) Run

func (cmd *CreateSnapshot) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateSnapshot) SetApi

func (cmd *CreateSnapshot) SetApi(api ec2iface.EC2API)

type CreateStack

type CreateStack struct {
	Name                  *string   `awsName:"StackName" awsType:"awsstr" templateName:"name"`
	TemplateFile          *string   `awsName:"TemplateBody" awsType:"awsfiletostring" templateName:"template-file"`
	Capabilities          []*string `awsName:"Capabilities" awsType:"awsstringslice" templateName:"capabilities"`
	DisableRollback       *bool     `awsName:"DisableRollback" awsType:"awsbool" templateName:"disable-rollback"`
	Notifications         []*string `awsName:"NotificationARNs" awsType:"awsstringslice" templateName:"notifications"`
	OnFailure             *string   `awsName:"OnFailure" awsType:"awsstr" templateName:"on-failure"`
	Parameters            []*string `awsName:"Parameters" awsType:"awsparameterslice" templateName:"parameters"`
	ResourceTypes         []*string `awsName:"ResourceTypes" awsType:"awsstringslice" templateName:"resource-types"`
	Role                  *string   `awsName:"RoleARN" awsType:"awsstr" templateName:"role"`
	PolicyFile            *string   `awsName:"StackPolicyBody" awsType:"awsfiletostring" templateName:"policy-file"`
	Timeout               *int64    `awsName:"TimeoutInMinutes" awsType:"awsint64" templateName:"timeout"`
	Tags                  []*string `awsName:"Tags" awsType:"awstagslice" templateName:"tags"`
	PolicyBody            *string   `awsName:"StackPolicyBody" awsType:"awsstr"`
	StackFile             *string   `templateName:"stack-file"`
	RollbackTriggers      []*string `awsName:"RollbackConfiguration.RollbackTriggers" awsType:"awsalarmrollbacktriggers" templateName:"rollback-triggers"`
	RollbackMonitoringMin *int64    `awsName:"RollbackConfiguration.MonitoringTimeInMinutes" awsType:"awsint64" templateName:"rollback-monitoring-min"`
	// contains filtered or unexported fields
}

func NewCreateStack

func NewCreateStack(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateStack

func (*CreateStack) ExtractResult

func (cmd *CreateStack) ExtractResult(i interface{}) string

func (*CreateStack) ParamsSpec added in v0.1.9

func (cmd *CreateStack) ParamsSpec() params.Spec

func (*CreateStack) Run

func (cmd *CreateStack) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateStack) SetApi

type CreateSubnet

type CreateSubnet struct {
	CIDR             *string `awsName:"CidrBlock" awsType:"awsstr" templateName:"cidr"`
	VPC              *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"`
	AvailabilityZone *string `awsName:"AvailabilityZone" awsType:"awsstr" templateName:"availabilityzone"`
	Public           *bool   `awsType:"awsboolattribute" templateName:"public"`
	Name             *string `templateName:"name"`
	// contains filtered or unexported fields
}

func NewCreateSubnet

func NewCreateSubnet(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateSubnet

func (*CreateSubnet) AfterRun

func (cmd *CreateSubnet) AfterRun(renv env.Running, output interface{}) error

func (*CreateSubnet) ExtractResult

func (cmd *CreateSubnet) ExtractResult(i interface{}) string

func (*CreateSubnet) ParamsSpec added in v0.1.9

func (cmd *CreateSubnet) ParamsSpec() params.Spec

func (*CreateSubnet) Run

func (cmd *CreateSubnet) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateSubnet) SetApi

func (cmd *CreateSubnet) SetApi(api ec2iface.EC2API)

type CreateSubscription

type CreateSubscription struct {
	Topic    *string `awsName:"TopicArn" awsType:"awsstr" templateName:"topic"`
	Endpoint *string `awsName:"Endpoint" awsType:"awsstr" templateName:"endpoint"`
	Protocol *string `awsName:"Protocol" awsType:"awsstr" templateName:"protocol"`
	// contains filtered or unexported fields
}

func NewCreateSubscription

func NewCreateSubscription(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateSubscription

func (*CreateSubscription) ExtractResult

func (cmd *CreateSubscription) ExtractResult(i interface{}) string

func (*CreateSubscription) ParamsSpec added in v0.1.9

func (cmd *CreateSubscription) ParamsSpec() params.Spec

func (*CreateSubscription) Run

func (cmd *CreateSubscription) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateSubscription) SetApi

func (cmd *CreateSubscription) SetApi(api snsiface.SNSAPI)

type CreateTag

type CreateTag struct {
	Resource *string `awsName:"Resources" awsType:"awsstringslice" templateName:"resource"`
	Key      *string `templateName:"key"`
	Value    *string `templateName:"value"`
	// contains filtered or unexported fields
}

func NewCreateTag

func NewCreateTag(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateTag

func (*CreateTag) ManualRun

func (cmd *CreateTag) ManualRun(renv env.Running) (interface{}, error)

func (*CreateTag) ParamsSpec added in v0.1.9

func (cmd *CreateTag) ParamsSpec() params.Spec

func (*CreateTag) Run

func (cmd *CreateTag) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateTag) SetApi

func (cmd *CreateTag) SetApi(api ec2iface.EC2API)

type CreateTargetgroup

type CreateTargetgroup struct {
	Name                *string `awsName:"Name" awsType:"awsstr" templateName:"name"`
	Port                *int64  `awsName:"Port" awsType:"awsint64" templateName:"port"`
	Protocol            *string `awsName:"Protocol" awsType:"awsstr" templateName:"protocol"`
	Vpc                 *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"`
	Healthcheckinterval *int64  `awsName:"HealthCheckIntervalSeconds" awsType:"awsint64" templateName:"healthcheckinterval"`
	Healthcheckpath     *string `awsName:"HealthCheckPath" awsType:"awsstr" templateName:"healthcheckpath"`
	Healthcheckport     *string `awsName:"HealthCheckPort" awsType:"awsstr" templateName:"healthcheckport"`
	Healthcheckprotocol *string `awsName:"HealthCheckProtocol" awsType:"awsstr" templateName:"healthcheckprotocol"`
	Healthchecktimeout  *int64  `awsName:"HealthCheckTimeoutSeconds" awsType:"awsint64" templateName:"healthchecktimeout"`
	Healthythreshold    *int64  `awsName:"HealthyThresholdCount" awsType:"awsint64" templateName:"healthythreshold"`
	Unhealthythreshold  *int64  `awsName:"UnhealthyThresholdCount" awsType:"awsint64" templateName:"unhealthythreshold"`
	Matcher             *string `awsName:"Matcher.HttpCode" awsType:"awsstr" templateName:"matcher"`
	// contains filtered or unexported fields
}

func NewCreateTargetgroup

func NewCreateTargetgroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateTargetgroup

func (*CreateTargetgroup) ExtractResult

func (cmd *CreateTargetgroup) ExtractResult(i interface{}) string

func (*CreateTargetgroup) ParamsSpec added in v0.1.9

func (cmd *CreateTargetgroup) ParamsSpec() params.Spec

func (*CreateTargetgroup) Run

func (cmd *CreateTargetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateTargetgroup) SetApi

func (cmd *CreateTargetgroup) SetApi(api elbv2iface.ELBV2API)

type CreateTopic

type CreateTopic struct {
	Name *string `awsName:"Name" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewCreateTopic

func NewCreateTopic(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateTopic

func (*CreateTopic) ExtractResult

func (cmd *CreateTopic) ExtractResult(i interface{}) string

func (*CreateTopic) ParamsSpec added in v0.1.9

func (cmd *CreateTopic) ParamsSpec() params.Spec

func (*CreateTopic) Run

func (cmd *CreateTopic) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateTopic) SetApi

func (cmd *CreateTopic) SetApi(api snsiface.SNSAPI)

type CreateUser

type CreateUser struct {
	Name *string `awsName:"UserName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewCreateUser

func NewCreateUser(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateUser

func (*CreateUser) ExtractResult

func (cmd *CreateUser) ExtractResult(i interface{}) string

func (*CreateUser) ParamsSpec added in v0.1.9

func (cmd *CreateUser) ParamsSpec() params.Spec

func (*CreateUser) Run

func (cmd *CreateUser) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateUser) SetApi

func (cmd *CreateUser) SetApi(api iamiface.IAMAPI)

type CreateVolume

type CreateVolume struct {
	Availabilityzone *string `awsName:"AvailabilityZone" awsType:"awsstr" templateName:"availabilityzone"`
	Size             *int64  `awsName:"Size" awsType:"awsint64" templateName:"size"`
	// contains filtered or unexported fields
}

func NewCreateVolume

func NewCreateVolume(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateVolume

func (*CreateVolume) ExtractResult

func (cmd *CreateVolume) ExtractResult(i interface{}) string

func (*CreateVolume) ParamsSpec added in v0.1.9

func (cmd *CreateVolume) ParamsSpec() params.Spec

func (*CreateVolume) Run

func (cmd *CreateVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateVolume) SetApi

func (cmd *CreateVolume) SetApi(api ec2iface.EC2API)

type CreateVpc

type CreateVpc struct {
	CIDR *string `awsName:"CidrBlock" awsType:"awsstr" templateName:"cidr"`
	Name *string `awsName:"Name" templateName:"name"`
	// contains filtered or unexported fields
}

func NewCreateVpc

func NewCreateVpc(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateVpc

func (*CreateVpc) AfterRun

func (cmd *CreateVpc) AfterRun(renv env.Running, output interface{}) error

func (*CreateVpc) ExtractResult

func (cmd *CreateVpc) ExtractResult(i interface{}) string

func (*CreateVpc) ParamsSpec added in v0.1.9

func (cmd *CreateVpc) ParamsSpec() params.Spec

func (*CreateVpc) Run

func (cmd *CreateVpc) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateVpc) SetApi

func (cmd *CreateVpc) SetApi(api ec2iface.EC2API)

type CreateZone

type CreateZone struct {
	Callerreference *string `awsName:"CallerReference" awsType:"awsstr" templateName:"callerreference"`
	Name            *string `awsName:"Name" awsType:"awsstr" templateName:"name"`
	Delegationsetid *string `awsName:"DelegationSetId" awsType:"awsstr" templateName:"delegationsetid"`
	Comment         *string `awsName:"HostedZoneConfig.Comment" awsType:"awsstr" templateName:"comment"`
	Isprivate       *bool   `awsName:"HostedZoneConfig.PrivateZone" awsType:"awsbool" templateName:"isprivate"`
	Vpcid           *string `awsName:"VPC.VPCId" awsType:"awsstr" templateName:"vpcid"`
	Vpcregion       *string `awsName:"VPC.VPCRegion" awsType:"awsstr" templateName:"vpcregion"`
	// contains filtered or unexported fields
}

func NewCreateZone

func NewCreateZone(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *CreateZone

func (*CreateZone) ExtractResult

func (cmd *CreateZone) ExtractResult(i interface{}) string

func (*CreateZone) ParamsSpec added in v0.1.9

func (cmd *CreateZone) ParamsSpec() params.Spec

func (*CreateZone) Run

func (cmd *CreateZone) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*CreateZone) SetApi

func (cmd *CreateZone) SetApi(api route53iface.Route53API)

type Definition

type Definition struct {
	Action, Entity, Api string
	Params              params.Rule
}

func AWSLookupDefinitions

func AWSLookupDefinitions(key string) (t Definition, ok bool)

type DeleteAccesskey

type DeleteAccesskey struct {
	Id   *string `awsName:"AccessKeyId" awsType:"awsstr" templateName:"id"`
	User *string `awsName:"UserName" awsType:"awsstr" templateName:"user"`
	// contains filtered or unexported fields
}

func NewDeleteAccesskey

func NewDeleteAccesskey(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteAccesskey

func (*DeleteAccesskey) ParamsSpec added in v0.1.9

func (cmd *DeleteAccesskey) ParamsSpec() params.Spec

func (*DeleteAccesskey) Run

func (cmd *DeleteAccesskey) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteAccesskey) SetApi

func (cmd *DeleteAccesskey) SetApi(api iamiface.IAMAPI)

type DeleteAlarm

type DeleteAlarm struct {
	Name []*string `awsName:"AlarmNames" awsType:"awsstringslice" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteAlarm

func NewDeleteAlarm(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteAlarm

func (*DeleteAlarm) ParamsSpec added in v0.1.9

func (cmd *DeleteAlarm) ParamsSpec() params.Spec

func (*DeleteAlarm) Run

func (cmd *DeleteAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteAlarm) SetApi

func (cmd *DeleteAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)

type DeleteAppscalingpolicy

type DeleteAppscalingpolicy struct {
	Name             *string `awsName:"PolicyName" awsType:"awsstr" templateName:"name"`
	Resource         *string `awsName:"ResourceId" awsType:"awsstr" templateName:"resource"`
	Dimension        *string `awsName:"ScalableDimension" awsType:"awsstr" templateName:"dimension"`
	ServiceNamespace *string `awsName:"ServiceNamespace" awsType:"awsstr" templateName:"service-namespace"`
	// contains filtered or unexported fields
}

func NewDeleteAppscalingpolicy

func NewDeleteAppscalingpolicy(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteAppscalingpolicy

func (*DeleteAppscalingpolicy) ParamsSpec added in v0.1.9

func (cmd *DeleteAppscalingpolicy) ParamsSpec() params.Spec

func (*DeleteAppscalingpolicy) Run

func (cmd *DeleteAppscalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteAppscalingpolicy) SetApi

type DeleteAppscalingtarget

type DeleteAppscalingtarget struct {
	Resource         *string `awsName:"ResourceId" awsType:"awsstr" templateName:"resource"`
	Dimension        *string `awsName:"ScalableDimension" awsType:"awsstr" templateName:"dimension"`
	ServiceNamespace *string `awsName:"ServiceNamespace" awsType:"awsstr" templateName:"service-namespace"`
	// contains filtered or unexported fields
}

func NewDeleteAppscalingtarget

func NewDeleteAppscalingtarget(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteAppscalingtarget

func (*DeleteAppscalingtarget) ParamsSpec added in v0.1.9

func (cmd *DeleteAppscalingtarget) ParamsSpec() params.Spec

func (*DeleteAppscalingtarget) Run

func (cmd *DeleteAppscalingtarget) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteAppscalingtarget) SetApi

type DeleteBucket

type DeleteBucket struct {
	Name *string `awsName:"Bucket" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteBucket

func NewDeleteBucket(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteBucket

func (*DeleteBucket) ParamsSpec added in v0.1.9

func (cmd *DeleteBucket) ParamsSpec() params.Spec

func (*DeleteBucket) Run

func (cmd *DeleteBucket) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteBucket) SetApi

func (cmd *DeleteBucket) SetApi(api s3iface.S3API)

type DeleteCertificate

type DeleteCertificate struct {
	Arn *string `awsName:"CertificateArn" awsType:"awsstr" templateName:"arn"`
	// contains filtered or unexported fields
}

func NewDeleteCertificate

func NewDeleteCertificate(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteCertificate

func (*DeleteCertificate) ParamsSpec added in v0.1.9

func (cmd *DeleteCertificate) ParamsSpec() params.Spec

func (*DeleteCertificate) Run

func (cmd *DeleteCertificate) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteCertificate) SetApi

func (cmd *DeleteCertificate) SetApi(api acmiface.ACMAPI)

type DeleteClassicLoadbalancer added in v0.1.11

type DeleteClassicLoadbalancer struct {
	Name *string `awsName:"LoadBalancerName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteClassicLoadbalancer added in v0.1.11

func NewDeleteClassicLoadbalancer(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteClassicLoadbalancer

func (*DeleteClassicLoadbalancer) ParamsSpec added in v0.1.11

func (cmd *DeleteClassicLoadbalancer) ParamsSpec() params.Spec

func (*DeleteClassicLoadbalancer) Run added in v0.1.11

func (cmd *DeleteClassicLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteClassicLoadbalancer) SetApi added in v0.1.11

func (cmd *DeleteClassicLoadbalancer) SetApi(api elbiface.ELBAPI)

type DeleteContainercluster

type DeleteContainercluster struct {
	Id *string `awsName:"Cluster" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteContainercluster

func NewDeleteContainercluster(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteContainercluster

func (*DeleteContainercluster) ParamsSpec added in v0.1.9

func (cmd *DeleteContainercluster) ParamsSpec() params.Spec

func (*DeleteContainercluster) Run

func (cmd *DeleteContainercluster) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteContainercluster) SetApi

func (cmd *DeleteContainercluster) SetApi(api ecsiface.ECSAPI)

type DeleteContainertask

type DeleteContainertask struct {
	Name        *string `templateName:"name"`
	AllVersions *bool   `templateName:"all-versions"`
	// contains filtered or unexported fields
}

func NewDeleteContainertask

func NewDeleteContainertask(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteContainertask

func (*DeleteContainertask) ManualRun

func (cmd *DeleteContainertask) ManualRun(renv env.Running) (interface{}, error)

func (*DeleteContainertask) ParamsSpec added in v0.1.9

func (cmd *DeleteContainertask) ParamsSpec() params.Spec

func (*DeleteContainertask) Run

func (cmd *DeleteContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteContainertask) SetApi

func (cmd *DeleteContainertask) SetApi(api ecsiface.ECSAPI)

type DeleteDatabase

type DeleteDatabase struct {
	Id           *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"`
	SkipSnapshot *bool   `awsName:"SkipFinalSnapshot" awsType:"awsbool" templateName:"skip-snapshot"`
	Snapshot     *string `awsName:"FinalDBSnapshotIdentifier" awsType:"awsstr" templateName:"snapshot"`
	// contains filtered or unexported fields
}

func NewDeleteDatabase

func NewDeleteDatabase(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteDatabase

func (*DeleteDatabase) ParamsSpec added in v0.1.9

func (cmd *DeleteDatabase) ParamsSpec() params.Spec

func (*DeleteDatabase) Run

func (cmd *DeleteDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteDatabase) SetApi

func (cmd *DeleteDatabase) SetApi(api rdsiface.RDSAPI)

type DeleteDbsubnetgroup

type DeleteDbsubnetgroup struct {
	Name *string `awsName:"DBSubnetGroupName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteDbsubnetgroup

func NewDeleteDbsubnetgroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteDbsubnetgroup

func (*DeleteDbsubnetgroup) ParamsSpec added in v0.1.9

func (cmd *DeleteDbsubnetgroup) ParamsSpec() params.Spec

func (*DeleteDbsubnetgroup) Run

func (cmd *DeleteDbsubnetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteDbsubnetgroup) SetApi

func (cmd *DeleteDbsubnetgroup) SetApi(api rdsiface.RDSAPI)

type DeleteDistribution

type DeleteDistribution struct {
	Id *string `awsName:"Id" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteDistribution

func NewDeleteDistribution(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteDistribution

func (*DeleteDistribution) ManualRun

func (cmd *DeleteDistribution) ManualRun(renv env.Running) (interface{}, error)

func (*DeleteDistribution) ParamsSpec added in v0.1.9

func (cmd *DeleteDistribution) ParamsSpec() params.Spec

func (*DeleteDistribution) Run

func (cmd *DeleteDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteDistribution) SetApi

type DeleteElasticip

type DeleteElasticip struct {
	Id *string `awsName:"AllocationId" awsType:"awsstr" templateName:"id"`
	Ip *string `awsName:"PublicIp" awsType:"awsstr" templateName:"ip"`
	// contains filtered or unexported fields
}

func NewDeleteElasticip

func NewDeleteElasticip(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteElasticip

func (*DeleteElasticip) ParamsSpec added in v0.1.9

func (cmd *DeleteElasticip) ParamsSpec() params.Spec

func (*DeleteElasticip) Run

func (cmd *DeleteElasticip) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteElasticip) SetApi

func (cmd *DeleteElasticip) SetApi(api ec2iface.EC2API)

type DeleteFunction

type DeleteFunction struct {
	Id      *string `awsName:"FunctionName" awsType:"awsstr" templateName:"id"`
	Version *string `awsName:"Qualifier" awsType:"awsstr" templateName:"version"`
	// contains filtered or unexported fields
}

func NewDeleteFunction

func NewDeleteFunction(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteFunction

func (*DeleteFunction) ParamsSpec added in v0.1.9

func (cmd *DeleteFunction) ParamsSpec() params.Spec

func (*DeleteFunction) Run

func (cmd *DeleteFunction) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteFunction) SetApi

func (cmd *DeleteFunction) SetApi(api lambdaiface.LambdaAPI)

type DeleteGroup

type DeleteGroup struct {
	Name *string `awsName:"GroupName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteGroup

func NewDeleteGroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteGroup

func (*DeleteGroup) ParamsSpec added in v0.1.9

func (cmd *DeleteGroup) ParamsSpec() params.Spec

func (*DeleteGroup) Run

func (cmd *DeleteGroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteGroup) SetApi

func (cmd *DeleteGroup) SetApi(api iamiface.IAMAPI)

type DeleteImage

type DeleteImage struct {
	Id              *string `templateName:"id"`
	DeleteSnapshots *bool   `templateName:"delete-snapshots"`
	// contains filtered or unexported fields
}

func NewDeleteImage

func NewDeleteImage(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteImage

func (*DeleteImage) ManualRun

func (cmd *DeleteImage) ManualRun(renv env.Running) (interface{}, error)

func (*DeleteImage) ParamsSpec added in v0.1.9

func (cmd *DeleteImage) ParamsSpec() params.Spec

func (*DeleteImage) Run

func (cmd *DeleteImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteImage) SetApi

func (cmd *DeleteImage) SetApi(api ec2iface.EC2API)

type DeleteInstance

type DeleteInstance struct {
	IDs []*string `awsName:"InstanceIds" awsType:"awsstringslice" templateName:"ids"`
	// contains filtered or unexported fields
}

func NewDeleteInstance

func NewDeleteInstance(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteInstance

func (*DeleteInstance) ParamsSpec added in v0.1.9

func (cmd *DeleteInstance) ParamsSpec() params.Spec

func (*DeleteInstance) Run

func (cmd *DeleteInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteInstance) SetApi

func (cmd *DeleteInstance) SetApi(api ec2iface.EC2API)

type DeleteInstanceprofile

type DeleteInstanceprofile struct {
	Name *string `awsName:"InstanceProfileName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteInstanceprofile

func NewDeleteInstanceprofile(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteInstanceprofile

func (*DeleteInstanceprofile) ParamsSpec added in v0.1.9

func (cmd *DeleteInstanceprofile) ParamsSpec() params.Spec

func (*DeleteInstanceprofile) Run

func (cmd *DeleteInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteInstanceprofile) SetApi

func (cmd *DeleteInstanceprofile) SetApi(api iamiface.IAMAPI)

type DeleteInternetgateway

type DeleteInternetgateway struct {
	Id *string `awsName:"InternetGatewayId" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteInternetgateway

func NewDeleteInternetgateway(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteInternetgateway

func (*DeleteInternetgateway) ParamsSpec added in v0.1.9

func (cmd *DeleteInternetgateway) ParamsSpec() params.Spec

func (*DeleteInternetgateway) Run

func (cmd *DeleteInternetgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteInternetgateway) SetApi

func (cmd *DeleteInternetgateway) SetApi(api ec2iface.EC2API)

type DeleteKeypair

type DeleteKeypair struct {
	Name *string `awsName:"KeyName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteKeypair

func NewDeleteKeypair(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteKeypair

func (*DeleteKeypair) ParamsSpec added in v0.1.9

func (cmd *DeleteKeypair) ParamsSpec() params.Spec

func (*DeleteKeypair) Run

func (cmd *DeleteKeypair) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteKeypair) SetApi

func (cmd *DeleteKeypair) SetApi(api ec2iface.EC2API)

type DeleteLaunchconfiguration

type DeleteLaunchconfiguration struct {
	Name *string `awsName:"LaunchConfigurationName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteLaunchconfiguration

func NewDeleteLaunchconfiguration(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteLaunchconfiguration

func (*DeleteLaunchconfiguration) ParamsSpec added in v0.1.9

func (cmd *DeleteLaunchconfiguration) ParamsSpec() params.Spec

func (*DeleteLaunchconfiguration) Run

func (cmd *DeleteLaunchconfiguration) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteLaunchconfiguration) SetApi

type DeleteListener

type DeleteListener struct {
	Id *string `awsName:"ListenerArn" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteListener

func NewDeleteListener(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteListener

func (*DeleteListener) ParamsSpec added in v0.1.9

func (cmd *DeleteListener) ParamsSpec() params.Spec

func (*DeleteListener) Run

func (cmd *DeleteListener) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteListener) SetApi

func (cmd *DeleteListener) SetApi(api elbv2iface.ELBV2API)

type DeleteLoadbalancer

type DeleteLoadbalancer struct {
	Id *string `awsName:"LoadBalancerArn" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteLoadbalancer

func NewDeleteLoadbalancer(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteLoadbalancer

func (*DeleteLoadbalancer) ParamsSpec added in v0.1.9

func (cmd *DeleteLoadbalancer) ParamsSpec() params.Spec

func (*DeleteLoadbalancer) Run

func (cmd *DeleteLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteLoadbalancer) SetApi

func (cmd *DeleteLoadbalancer) SetApi(api elbv2iface.ELBV2API)

type DeleteLoginprofile

type DeleteLoginprofile struct {
	Username *string `awsName:"UserName" awsType:"awsstr" templateName:"username"`
	// contains filtered or unexported fields
}

func NewDeleteLoginprofile

func NewDeleteLoginprofile(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteLoginprofile

func (*DeleteLoginprofile) ParamsSpec added in v0.1.9

func (cmd *DeleteLoginprofile) ParamsSpec() params.Spec

func (*DeleteLoginprofile) Run

func (cmd *DeleteLoginprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteLoginprofile) SetApi

func (cmd *DeleteLoginprofile) SetApi(api iamiface.IAMAPI)

type DeleteMfadevice

type DeleteMfadevice struct {
	Id *string `awsName:"SerialNumber" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteMfadevice

func NewDeleteMfadevice(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteMfadevice

func (*DeleteMfadevice) ParamsSpec added in v0.1.9

func (cmd *DeleteMfadevice) ParamsSpec() params.Spec

func (*DeleteMfadevice) Run

func (cmd *DeleteMfadevice) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteMfadevice) SetApi

func (cmd *DeleteMfadevice) SetApi(api iamiface.IAMAPI)

type DeleteNatgateway

type DeleteNatgateway struct {
	Id *string `awsName:"NatGatewayId" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteNatgateway

func NewDeleteNatgateway(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteNatgateway

func (*DeleteNatgateway) ParamsSpec added in v0.1.9

func (cmd *DeleteNatgateway) ParamsSpec() params.Spec

func (*DeleteNatgateway) Run

func (cmd *DeleteNatgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteNatgateway) SetApi

func (cmd *DeleteNatgateway) SetApi(api ec2iface.EC2API)

type DeleteNetworkinterface

type DeleteNetworkinterface struct {
	Id *string `awsName:"NetworkInterfaceId" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteNetworkinterface

func NewDeleteNetworkinterface(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteNetworkinterface

func (*DeleteNetworkinterface) ParamsSpec added in v0.1.9

func (cmd *DeleteNetworkinterface) ParamsSpec() params.Spec

func (*DeleteNetworkinterface) Run

func (cmd *DeleteNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteNetworkinterface) SetApi

func (cmd *DeleteNetworkinterface) SetApi(api ec2iface.EC2API)

type DeletePolicy

type DeletePolicy struct {
	Arn         *string `awsName:"PolicyArn" awsType:"awsstr" templateName:"arn"`
	AllVersions *bool   `templateName:"all-versions"`
	// contains filtered or unexported fields
}

func NewDeletePolicy

func NewDeletePolicy(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeletePolicy

func (*DeletePolicy) BeforeRun

func (cmd *DeletePolicy) BeforeRun(renv env.Running) error

func (*DeletePolicy) ParamsSpec added in v0.1.9

func (cmd *DeletePolicy) ParamsSpec() params.Spec

func (*DeletePolicy) Run

func (cmd *DeletePolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeletePolicy) SetApi

func (cmd *DeletePolicy) SetApi(api iamiface.IAMAPI)

type DeleteQueue

type DeleteQueue struct {
	Url *string `awsName:"QueueUrl" awsType:"awsstr" templateName:"url"`
	// contains filtered or unexported fields
}

func NewDeleteQueue

func NewDeleteQueue(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteQueue

func (*DeleteQueue) ParamsSpec added in v0.1.9

func (cmd *DeleteQueue) ParamsSpec() params.Spec

func (*DeleteQueue) Run

func (cmd *DeleteQueue) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteQueue) SetApi

func (cmd *DeleteQueue) SetApi(api sqsiface.SQSAPI)

type DeleteRecord

type DeleteRecord struct {
	Zone   *string   `templateName:"zone"`
	Name   *string   `templateName:"name"`
	Type   *string   `templateName:"type"`
	Values []*string `templateName:"values"`
	Ttl    *int64    `templateName:"ttl"`
	// contains filtered or unexported fields
}

func NewDeleteRecord

func NewDeleteRecord(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteRecord

func (*DeleteRecord) ExtractResult

func (cmd *DeleteRecord) ExtractResult(i interface{}) string

func (*DeleteRecord) ManualRun

func (cmd *DeleteRecord) ManualRun(renv env.Running) (interface{}, error)

func (*DeleteRecord) ParamsSpec added in v0.1.9

func (cmd *DeleteRecord) ParamsSpec() params.Spec

func (*DeleteRecord) Run

func (cmd *DeleteRecord) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteRecord) SetApi

func (cmd *DeleteRecord) SetApi(api route53iface.Route53API)

type DeleteRepository

type DeleteRepository struct {
	Name    *string `awsName:"RepositoryName" awsType:"awsstr" templateName:"name"`
	Force   *bool   `awsName:"Force" awsType:"awsbool" templateName:"force"`
	Account *string `awsName:"RegistryId" awsType:"awsstr" templateName:"account"`
	// contains filtered or unexported fields
}

func NewDeleteRepository

func NewDeleteRepository(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteRepository

func (*DeleteRepository) ParamsSpec added in v0.1.9

func (cmd *DeleteRepository) ParamsSpec() params.Spec

func (*DeleteRepository) Run

func (cmd *DeleteRepository) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteRepository) SetApi

func (cmd *DeleteRepository) SetApi(api ecriface.ECRAPI)

type DeleteRole

type DeleteRole struct {
	Name *string `awsName:"RoleName" awsType:"awsstr" templateName:"name" `
	// contains filtered or unexported fields
}

func NewDeleteRole

func NewDeleteRole(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteRole

func (*DeleteRole) ManualRun

func (cmd *DeleteRole) ManualRun(renv env.Running) (interface{}, error)

func (*DeleteRole) ParamsSpec added in v0.1.9

func (cmd *DeleteRole) ParamsSpec() params.Spec

func (*DeleteRole) Run

func (cmd *DeleteRole) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteRole) SetApi

func (cmd *DeleteRole) SetApi(api iamiface.IAMAPI)

type DeleteRoute

type DeleteRoute struct {
	Table *string `awsName:"RouteTableId" awsType:"awsstr" templateName:"table"`
	CIDR  *string `awsName:"DestinationCidrBlock" awsType:"awsstr" templateName:"cidr"`
	// contains filtered or unexported fields
}

func NewDeleteRoute

func NewDeleteRoute(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteRoute

func (*DeleteRoute) ParamsSpec added in v0.1.9

func (cmd *DeleteRoute) ParamsSpec() params.Spec

func (*DeleteRoute) Run

func (cmd *DeleteRoute) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteRoute) SetApi

func (cmd *DeleteRoute) SetApi(api ec2iface.EC2API)

type DeleteRoutetable

type DeleteRoutetable struct {
	Id *string `awsName:"RouteTableId" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteRoutetable

func NewDeleteRoutetable(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteRoutetable

func (*DeleteRoutetable) ParamsSpec added in v0.1.9

func (cmd *DeleteRoutetable) ParamsSpec() params.Spec

func (*DeleteRoutetable) Run

func (cmd *DeleteRoutetable) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteRoutetable) SetApi

func (cmd *DeleteRoutetable) SetApi(api ec2iface.EC2API)

type DeleteS3object

type DeleteS3object struct {
	Bucket *string `awsName:"Bucket" awsType:"awsstr" templateName:"bucket"`
	Name   *string `awsName:"Key" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteS3object

func NewDeleteS3object(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteS3object

func (*DeleteS3object) ParamsSpec added in v0.1.9

func (cmd *DeleteS3object) ParamsSpec() params.Spec

func (*DeleteS3object) Run

func (cmd *DeleteS3object) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteS3object) SetApi

func (cmd *DeleteS3object) SetApi(api s3iface.S3API)

type DeleteScalinggroup

type DeleteScalinggroup struct {
	Name  *string `awsName:"AutoScalingGroupName" awsType:"awsstr" templateName:"name"`
	Force *bool   `awsName:"ForceDelete" awsType:"awsbool" templateName:"force"`
	// contains filtered or unexported fields
}

func NewDeleteScalinggroup

func NewDeleteScalinggroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteScalinggroup

func (*DeleteScalinggroup) ParamsSpec added in v0.1.9

func (cmd *DeleteScalinggroup) ParamsSpec() params.Spec

func (*DeleteScalinggroup) Run

func (cmd *DeleteScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteScalinggroup) SetApi

type DeleteScalingpolicy

type DeleteScalingpolicy struct {
	Id *string `awsName:"PolicyName" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteScalingpolicy

func NewDeleteScalingpolicy(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteScalingpolicy

func (*DeleteScalingpolicy) ParamsSpec added in v0.1.9

func (cmd *DeleteScalingpolicy) ParamsSpec() params.Spec

func (*DeleteScalingpolicy) Run

func (cmd *DeleteScalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteScalingpolicy) SetApi

type DeleteSecuritygroup

type DeleteSecuritygroup struct {
	Id *string `awsName:"GroupId" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteSecuritygroup

func NewDeleteSecuritygroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteSecuritygroup

func (*DeleteSecuritygroup) ParamsSpec added in v0.1.9

func (cmd *DeleteSecuritygroup) ParamsSpec() params.Spec

func (*DeleteSecuritygroup) Run

func (cmd *DeleteSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteSecuritygroup) SetApi

func (cmd *DeleteSecuritygroup) SetApi(api ec2iface.EC2API)

type DeleteSnapshot

type DeleteSnapshot struct {
	Id *string `awsName:"SnapshotId" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteSnapshot

func NewDeleteSnapshot(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteSnapshot

func (*DeleteSnapshot) ParamsSpec added in v0.1.9

func (cmd *DeleteSnapshot) ParamsSpec() params.Spec

func (*DeleteSnapshot) Run

func (cmd *DeleteSnapshot) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteSnapshot) SetApi

func (cmd *DeleteSnapshot) SetApi(api ec2iface.EC2API)

type DeleteStack

type DeleteStack struct {
	Name            *string   `awsName:"StackName" awsType:"awsstr" templateName:"name"`
	RetainResources []*string `awsName:"RetainResources" awsType:"awsstringslice" templateName:"retain-resources"`
	// contains filtered or unexported fields
}

func NewDeleteStack

func NewDeleteStack(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteStack

func (*DeleteStack) ParamsSpec added in v0.1.9

func (cmd *DeleteStack) ParamsSpec() params.Spec

func (*DeleteStack) Run

func (cmd *DeleteStack) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteStack) SetApi

type DeleteSubnet

type DeleteSubnet struct {
	Id *string `awsName:"SubnetId" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteSubnet

func NewDeleteSubnet(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteSubnet

func (*DeleteSubnet) ParamsSpec added in v0.1.9

func (cmd *DeleteSubnet) ParamsSpec() params.Spec

func (*DeleteSubnet) Run

func (cmd *DeleteSubnet) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteSubnet) SetApi

func (cmd *DeleteSubnet) SetApi(api ec2iface.EC2API)

type DeleteSubscription

type DeleteSubscription struct {
	Id *string `awsName:"SubscriptionArn" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteSubscription

func NewDeleteSubscription(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteSubscription

func (*DeleteSubscription) ParamsSpec added in v0.1.9

func (cmd *DeleteSubscription) ParamsSpec() params.Spec

func (*DeleteSubscription) Run

func (cmd *DeleteSubscription) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteSubscription) SetApi

func (cmd *DeleteSubscription) SetApi(api snsiface.SNSAPI)

type DeleteTag

type DeleteTag struct {
	Resource *string `awsName:"Resources" awsType:"awsstringslice" templateName:"resource"`
	Key      *string `templateName:"key"`
	Value    *string `templateName:"value"`
	// contains filtered or unexported fields
}

func NewDeleteTag

func NewDeleteTag(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteTag

func (*DeleteTag) ManualRun

func (cmd *DeleteTag) ManualRun(renv env.Running) (interface{}, error)

func (*DeleteTag) ParamsSpec added in v0.1.9

func (cmd *DeleteTag) ParamsSpec() params.Spec

func (*DeleteTag) Run

func (cmd *DeleteTag) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteTag) SetApi

func (cmd *DeleteTag) SetApi(api ec2iface.EC2API)

type DeleteTargetgroup

type DeleteTargetgroup struct {
	Id *string `awsName:"TargetGroupArn" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteTargetgroup

func NewDeleteTargetgroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteTargetgroup

func (*DeleteTargetgroup) ParamsSpec added in v0.1.9

func (cmd *DeleteTargetgroup) ParamsSpec() params.Spec

func (*DeleteTargetgroup) Run

func (cmd *DeleteTargetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteTargetgroup) SetApi

func (cmd *DeleteTargetgroup) SetApi(api elbv2iface.ELBV2API)

type DeleteTopic

type DeleteTopic struct {
	Id *string `awsName:"TopicArn" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteTopic

func NewDeleteTopic(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteTopic

func (*DeleteTopic) ParamsSpec added in v0.1.9

func (cmd *DeleteTopic) ParamsSpec() params.Spec

func (*DeleteTopic) Run

func (cmd *DeleteTopic) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteTopic) SetApi

func (cmd *DeleteTopic) SetApi(api snsiface.SNSAPI)

type DeleteUser

type DeleteUser struct {
	Name *string `awsName:"UserName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDeleteUser

func NewDeleteUser(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteUser

func (*DeleteUser) ParamsSpec added in v0.1.9

func (cmd *DeleteUser) ParamsSpec() params.Spec

func (*DeleteUser) Run

func (cmd *DeleteUser) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteUser) SetApi

func (cmd *DeleteUser) SetApi(api iamiface.IAMAPI)

type DeleteVolume

type DeleteVolume struct {
	Id *string `awsName:"VolumeId" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteVolume

func NewDeleteVolume(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteVolume

func (*DeleteVolume) ParamsSpec added in v0.1.9

func (cmd *DeleteVolume) ParamsSpec() params.Spec

func (*DeleteVolume) Run

func (cmd *DeleteVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteVolume) SetApi

func (cmd *DeleteVolume) SetApi(api ec2iface.EC2API)

type DeleteVpc

type DeleteVpc struct {
	Id *string `awsName:"VpcId" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteVpc

func NewDeleteVpc(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteVpc

func (*DeleteVpc) ParamsSpec added in v0.1.9

func (cmd *DeleteVpc) ParamsSpec() params.Spec

func (*DeleteVpc) Run

func (cmd *DeleteVpc) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteVpc) SetApi

func (cmd *DeleteVpc) SetApi(api ec2iface.EC2API)

type DeleteZone

type DeleteZone struct {
	Id *string `awsName:"Id" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDeleteZone

func NewDeleteZone(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DeleteZone

func (*DeleteZone) ParamsSpec added in v0.1.9

func (cmd *DeleteZone) ParamsSpec() params.Spec

func (*DeleteZone) Run

func (cmd *DeleteZone) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DeleteZone) SetApi

func (cmd *DeleteZone) SetApi(api route53iface.Route53API)

type DetachAlarm

type DetachAlarm struct {
	Name      *string `templateName:"name"`
	ActionArn *string `templateName:"action-arn"`
	// contains filtered or unexported fields
}

func NewDetachAlarm

func NewDetachAlarm(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachAlarm

func (*DetachAlarm) ManualRun

func (cmd *DetachAlarm) ManualRun(renv env.Running) (interface{}, error)

func (*DetachAlarm) ParamsSpec added in v0.1.9

func (cmd *DetachAlarm) ParamsSpec() params.Spec

func (*DetachAlarm) Run

func (cmd *DetachAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachAlarm) SetApi

func (cmd *DetachAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)

type DetachClassicLoadbalancer added in v0.1.11

type DetachClassicLoadbalancer struct {
	Name     *string `awsName:"LoadBalancerName" awsType:"awsstr" templateName:"name"`
	Instance *string `awsName:"Instances[0]InstanceId" awsType:"awsslicestruct" templateName:"instance"`
	// contains filtered or unexported fields
}

func NewDetachClassicLoadbalancer added in v0.1.11

func NewDetachClassicLoadbalancer(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachClassicLoadbalancer

func (*DetachClassicLoadbalancer) ExtractResult added in v0.1.11

func (cmd *DetachClassicLoadbalancer) ExtractResult(interface{}) string

func (*DetachClassicLoadbalancer) ParamsSpec added in v0.1.11

func (cmd *DetachClassicLoadbalancer) ParamsSpec() params.Spec

func (*DetachClassicLoadbalancer) Run added in v0.1.11

func (cmd *DetachClassicLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachClassicLoadbalancer) SetApi added in v0.1.11

func (cmd *DetachClassicLoadbalancer) SetApi(api elbiface.ELBAPI)

type DetachContainertask

type DetachContainertask struct {
	Name          *string `templateName:"name"`
	ContainerName *string `templateName:"container-name"`
	// contains filtered or unexported fields
}

func NewDetachContainertask

func NewDetachContainertask(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachContainertask

func (*DetachContainertask) ManualRun

func (cmd *DetachContainertask) ManualRun(renv env.Running) (interface{}, error)

func (*DetachContainertask) ParamsSpec added in v0.1.9

func (cmd *DetachContainertask) ParamsSpec() params.Spec

func (*DetachContainertask) Run

func (cmd *DetachContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachContainertask) SetApi

func (cmd *DetachContainertask) SetApi(api ecsiface.ECSAPI)

type DetachElasticip

type DetachElasticip struct {
	Association *string `awsName:"AssociationId" awsType:"awsstr" templateName:"association"`
	// contains filtered or unexported fields
}

func NewDetachElasticip

func NewDetachElasticip(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachElasticip

func (*DetachElasticip) ParamsSpec added in v0.1.9

func (cmd *DetachElasticip) ParamsSpec() params.Spec

func (*DetachElasticip) Run

func (cmd *DetachElasticip) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachElasticip) SetApi

func (cmd *DetachElasticip) SetApi(api ec2iface.EC2API)

type DetachInstance

type DetachInstance struct {
	Targetgroup *string `awsName:"TargetGroupArn" awsType:"awsstr" templateName:"targetgroup"`
	Id          *string `awsName:"Targets[0]Id" awsType:"awsslicestruct" templateName:"id"`
	// contains filtered or unexported fields
}

func NewDetachInstance

func NewDetachInstance(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachInstance

func (*DetachInstance) ParamsSpec added in v0.1.9

func (cmd *DetachInstance) ParamsSpec() params.Spec

func (*DetachInstance) Run

func (cmd *DetachInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachInstance) SetApi

func (cmd *DetachInstance) SetApi(api elbv2iface.ELBV2API)

type DetachInstanceprofile

type DetachInstanceprofile struct {
	Instance *string `templateName:"instance"`
	Name     *string `templateName:"name"`
	// contains filtered or unexported fields
}

func NewDetachInstanceprofile

func NewDetachInstanceprofile(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachInstanceprofile

func (*DetachInstanceprofile) ExtractResult

func (cmd *DetachInstanceprofile) ExtractResult(i interface{}) string

func (*DetachInstanceprofile) ManualRun

func (cmd *DetachInstanceprofile) ManualRun(renv env.Running) (interface{}, error)

func (*DetachInstanceprofile) ParamsSpec added in v0.1.9

func (cmd *DetachInstanceprofile) ParamsSpec() params.Spec

func (*DetachInstanceprofile) Run

func (cmd *DetachInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachInstanceprofile) SetApi

func (cmd *DetachInstanceprofile) SetApi(api ec2iface.EC2API)

type DetachInternetgateway

type DetachInternetgateway struct {
	Id  *string `awsName:"InternetGatewayId" awsType:"awsstr" templateName:"id"`
	Vpc *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"`
	// contains filtered or unexported fields
}

func NewDetachInternetgateway

func NewDetachInternetgateway(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachInternetgateway

func (*DetachInternetgateway) ParamsSpec added in v0.1.9

func (cmd *DetachInternetgateway) ParamsSpec() params.Spec

func (*DetachInternetgateway) Run

func (cmd *DetachInternetgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachInternetgateway) SetApi

func (cmd *DetachInternetgateway) SetApi(api ec2iface.EC2API)

type DetachMfadevice

type DetachMfadevice struct {
	Id   *string `awsName:"SerialNumber" awsType:"awsstr" templateName:"id"`
	User *string `awsName:"UserName" awsType:"awsstr" templateName:"user"`
	// contains filtered or unexported fields
}

func NewDetachMfadevice

func NewDetachMfadevice(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachMfadevice

func (*DetachMfadevice) ParamsSpec added in v0.1.9

func (cmd *DetachMfadevice) ParamsSpec() params.Spec

func (*DetachMfadevice) Run

func (cmd *DetachMfadevice) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachMfadevice) SetApi

func (cmd *DetachMfadevice) SetApi(api iamiface.IAMAPI)

type DetachNetworkinterface

type DetachNetworkinterface struct {
	Attachment *string `awsName:"AttachmentId" awsType:"awsstr" templateName:"attachment"`
	Instance   *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"`
	Id         *string `awsName:"NetworkInterfaceId" awsType:"awsstr" templateName:"id"`
	Force      *bool   `awsName:"Force" awsType:"awsbool" templateName:"force"`
	// contains filtered or unexported fields
}

func NewDetachNetworkinterface

func NewDetachNetworkinterface(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachNetworkinterface

func (*DetachNetworkinterface) ManualRun

func (cmd *DetachNetworkinterface) ManualRun(renv env.Running) (interface{}, error)

func (*DetachNetworkinterface) ParamsSpec added in v0.1.9

func (cmd *DetachNetworkinterface) ParamsSpec() params.Spec

func (*DetachNetworkinterface) Run

func (cmd *DetachNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachNetworkinterface) SetApi

func (cmd *DetachNetworkinterface) SetApi(api ec2iface.EC2API)

type DetachPolicy

type DetachPolicy struct {
	Arn   *string `awsName:"PolicyArn" awsType:"awsstr" templateName:"arn"`
	User  *string `awsName:"UserName" awsType:"awsstr" templateName:"user"`
	Group *string `awsName:"GroupName" awsType:"awsstr" templateName:"group"`
	Role  *string `awsName:"RoleName" awsType:"awsstr" templateName:"role"`
	// contains filtered or unexported fields
}

func NewDetachPolicy

func NewDetachPolicy(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachPolicy

func (*DetachPolicy) ManualRun

func (cmd *DetachPolicy) ManualRun(renv env.Running) (interface{}, error)

func (*DetachPolicy) ParamsSpec added in v0.1.9

func (cmd *DetachPolicy) ParamsSpec() params.Spec

func (*DetachPolicy) Run

func (cmd *DetachPolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachPolicy) SetApi

func (cmd *DetachPolicy) SetApi(api iamiface.IAMAPI)

type DetachRole

type DetachRole struct {
	Instanceprofile *string `awsName:"InstanceProfileName" awsType:"awsstr" templateName:"instanceprofile" `
	Name            *string `awsName:"RoleName" awsType:"awsstr" templateName:"name" `
	// contains filtered or unexported fields
}

func NewDetachRole

func NewDetachRole(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachRole

func (*DetachRole) ParamsSpec added in v0.1.9

func (cmd *DetachRole) ParamsSpec() params.Spec

func (*DetachRole) Run

func (cmd *DetachRole) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachRole) SetApi

func (cmd *DetachRole) SetApi(api iamiface.IAMAPI)

type DetachRoutetable

type DetachRoutetable struct {
	Association *string `awsName:"AssociationId" awsType:"awsstr" templateName:"association"`
	// contains filtered or unexported fields
}

func NewDetachRoutetable

func NewDetachRoutetable(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachRoutetable

func (*DetachRoutetable) ParamsSpec added in v0.1.9

func (cmd *DetachRoutetable) ParamsSpec() params.Spec

func (*DetachRoutetable) Run

func (cmd *DetachRoutetable) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachRoutetable) SetApi

func (cmd *DetachRoutetable) SetApi(api ec2iface.EC2API)

type DetachSecuritygroup

type DetachSecuritygroup struct {
	Id       *string `templateName:"id"`
	Instance *string `templateName:"instance"`
	// contains filtered or unexported fields
}

func NewDetachSecuritygroup

func NewDetachSecuritygroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachSecuritygroup

func (*DetachSecuritygroup) ManualRun

func (cmd *DetachSecuritygroup) ManualRun(renv env.Running) (interface{}, error)

func (*DetachSecuritygroup) ParamsSpec added in v0.1.9

func (cmd *DetachSecuritygroup) ParamsSpec() params.Spec

func (*DetachSecuritygroup) Run

func (cmd *DetachSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachSecuritygroup) SetApi

func (cmd *DetachSecuritygroup) SetApi(api ec2iface.EC2API)

type DetachUser

type DetachUser struct {
	Group *string `awsName:"GroupName" awsType:"awsstr" templateName:"group"`
	Name  *string `awsName:"UserName" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewDetachUser

func NewDetachUser(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachUser

func (*DetachUser) ParamsSpec added in v0.1.9

func (cmd *DetachUser) ParamsSpec() params.Spec

func (*DetachUser) Run

func (cmd *DetachUser) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachUser) SetApi

func (cmd *DetachUser) SetApi(api iamiface.IAMAPI)

type DetachVolume

type DetachVolume struct {
	Device   *string `awsName:"Device" awsType:"awsstr" templateName:"device"`
	Id       *string `awsName:"VolumeId" awsType:"awsstr" templateName:"id"`
	Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"`
	Force    *bool   `awsName:"Force" awsType:"awsbool" templateName:"force"`
	// contains filtered or unexported fields
}

func NewDetachVolume

func NewDetachVolume(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *DetachVolume

func (*DetachVolume) ExtractResult

func (cmd *DetachVolume) ExtractResult(i interface{}) string

func (*DetachVolume) ParamsSpec added in v0.1.9

func (cmd *DetachVolume) ParamsSpec() params.Spec

func (*DetachVolume) Run

func (cmd *DetachVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*DetachVolume) SetApi

func (cmd *DetachVolume) SetApi(api ec2iface.EC2API)

type Distro added in v0.1.7

type Distro struct {
	Name, Variant, Arch, Virt, Store string
}

type Factory

type Factory interface {
	Build(key string) func() interface{}
}
var CommandFactory Factory

type ImageQuery added in v0.1.7

type ImageQuery struct {
	Platform Platform
	Distro   Distro
}

func ParseImageQuery added in v0.1.7

func ParseImageQuery(s string) (ImageQuery, error)

func (ImageQuery) String added in v0.1.7

func (q ImageQuery) String() string

type ImageResolver added in v0.1.7

type ImageResolver func(*ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)

Image resolving allows to find AWS AMIs identifiers specifying what you want instead of an id that is specific to a region. The ami query string specification is as follows:

owner:distro:variant:arch:virtualization:store

Everything optional expect for the owner.

As for now only the main specific owner are taken into account and we deal with bares machines only distribution. Here are some examples:

- canonical:ubuntu:trusty

- redhat:rhel:6.8

- redhat::6.8

- amazonlinux

- suselinux:sles-12

- canonical:::i386

- redhat::::instance-store

- centos:centos

The default values are: Arch="x86_64", Virt="hvm", Store="ebs"

func EC2ImageResolver added in v0.1.7

func EC2ImageResolver() ImageResolver

func (ImageResolver) Resolve added in v0.1.7

func (resolv ImageResolver) Resolve(q ImageQuery) ([]*AwsImage, bool, error)

type ImageResolverCache added in v0.1.7

type ImageResolverCache struct {
	// contains filtered or unexported fields
}

func (*ImageResolverCache) Get added in v0.1.7

func (r *ImageResolverCache) Get(key string) ([]*AwsImage, bool)

func (*ImageResolverCache) Store added in v0.1.7

func (r *ImageResolverCache) Store(key string, images []*AwsImage)

type ImportImage

type ImportImage struct {
	Architecture *string `awsName:"Architecture" awsType:"awsstr" templateName:"architecture"`
	Description  *string `awsName:"Description" awsType:"awsstr" templateName:"description"`
	License      *string `awsName:"LicenseType" awsType:"awsstr" templateName:"license"`
	Platform     *string `awsName:"Platform" awsType:"awsstr" templateName:"platform"`
	Role         *string `awsName:"RoleName" awsType:"awsstr" templateName:"role"`
	Snapshot     *string `awsName:"DiskContainers[0]SnapshotId" awsType:"awsslicestruct" templateName:"snapshot"`
	Url          *string `awsName:"DiskContainers[0]Url" awsType:"awsslicestruct" templateName:"url"`
	Bucket       *string `awsName:"DiskContainers[0]UserBucket.S3Bucket" awsType:"awsslicestruct" templateName:"bucket"`
	S3object     *string `awsName:"DiskContainers[0]UserBucket.S3Key" awsType:"awsslicestruct" templateName:"s3object"`
	// contains filtered or unexported fields
}

func NewImportImage

func NewImportImage(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *ImportImage

func (*ImportImage) ExtractResult

func (cmd *ImportImage) ExtractResult(i interface{}) string

func (*ImportImage) ParamsSpec added in v0.1.9

func (cmd *ImportImage) ParamsSpec() params.Spec

func (*ImportImage) Run

func (cmd *ImportImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*ImportImage) SetApi

func (cmd *ImportImage) SetApi(api ec2iface.EC2API)

type Platform added in v0.1.7

type Platform struct {
	Name          string
	Id            string
	DistroName    string
	LatestVariant string
	MatchFunc     func(s string, d Distro) bool
}

type ProgressReadSeeker

type ProgressReadSeeker struct {
	// contains filtered or unexported fields
}

func NewProgressReader

func NewProgressReader(f *os.File) (*ProgressReadSeeker, error)

func (*ProgressReadSeeker) Read

func (pr *ProgressReadSeeker) Read(p []byte) (int, error)

func (*ProgressReadSeeker) Seek

func (pr *ProgressReadSeeker) Seek(offset int64, whence int) (int64, error)

type RestartDatabase added in v0.1.9

type RestartDatabase struct {
	Id           *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"`
	WithFailover *bool   `awsName:"ForceFailover" awsType:"awsbool" templateName:"with-failover"`
	// contains filtered or unexported fields
}

func NewRestartDatabase added in v0.1.9

func NewRestartDatabase(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *RestartDatabase

func (*RestartDatabase) ParamsSpec added in v0.1.9

func (cmd *RestartDatabase) ParamsSpec() params.Spec

func (*RestartDatabase) Run added in v0.1.9

func (cmd *RestartDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*RestartDatabase) SetApi added in v0.1.9

func (cmd *RestartDatabase) SetApi(api rdsiface.RDSAPI)

type RestartInstance added in v0.1.9

type RestartInstance struct {
	Id []*string `awsName:"InstanceIds" awsType:"awsstringslice" templateName:"ids"`
	// contains filtered or unexported fields
}

func NewRestartInstance added in v0.1.9

func NewRestartInstance(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *RestartInstance

func (*RestartInstance) ParamsSpec added in v0.1.9

func (cmd *RestartInstance) ParamsSpec() params.Spec

func (*RestartInstance) Run added in v0.1.9

func (cmd *RestartInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*RestartInstance) SetApi added in v0.1.9

func (cmd *RestartInstance) SetApi(api ec2iface.EC2API)

type ResultExtractor

type ResultExtractor interface {
	ExtractResult(interface{}) string
}

type StartAlarm

type StartAlarm struct {
	Names []*string `awsName:"AlarmNames" awsType:"awsstringslice" templateName:"names"`
	// contains filtered or unexported fields
}

func NewStartAlarm

func NewStartAlarm(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *StartAlarm

func (*StartAlarm) ParamsSpec added in v0.1.9

func (cmd *StartAlarm) ParamsSpec() params.Spec

func (*StartAlarm) Run

func (cmd *StartAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*StartAlarm) SetApi

func (cmd *StartAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)

type StartContainertask

type StartContainertask struct {
	Cluster                   *string `templateName:"cluster"`
	DesiredCount              *int64  `templateName:"desired-count"`
	Name                      *string `templateName:"name"`
	Type                      *string `templateName:"type"`
	Role                      *string `templateName:"role"`
	DeploymentName            *string `templateName:"deployment-name"`
	LoadBalancerContainerName *string `templateName:"loadbalancer.container-name"`
	LoadBalancerContainerPort *int64  `templateName:"loadbalancer.container-port"`
	LoadBalancerTargetgroup   *string `templateName:"loadbalancer.targetgroup"`
	// contains filtered or unexported fields
}

func NewStartContainertask

func NewStartContainertask(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *StartContainertask

func (*StartContainertask) ExtractResult

func (cmd *StartContainertask) ExtractResult(i interface{}) string

func (*StartContainertask) ManualRun

func (cmd *StartContainertask) ManualRun(renv env.Running) (interface{}, error)

func (*StartContainertask) ParamsSpec added in v0.1.9

func (cmd *StartContainertask) ParamsSpec() params.Spec

func (*StartContainertask) Run

func (cmd *StartContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*StartContainertask) SetApi

func (cmd *StartContainertask) SetApi(api ecsiface.ECSAPI)

type StartDatabase added in v0.1.9

type StartDatabase struct {
	Id *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewStartDatabase added in v0.1.9

func NewStartDatabase(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *StartDatabase

func (*StartDatabase) ParamsSpec added in v0.1.9

func (cmd *StartDatabase) ParamsSpec() params.Spec

func (*StartDatabase) Run added in v0.1.9

func (cmd *StartDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*StartDatabase) SetApi added in v0.1.9

func (cmd *StartDatabase) SetApi(api rdsiface.RDSAPI)

type StartInstance

type StartInstance struct {
	Id []*string `awsName:"InstanceIds" awsType:"awsstringslice" templateName:"ids"`
	// contains filtered or unexported fields
}

func NewStartInstance

func NewStartInstance(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *StartInstance

func (*StartInstance) ExtractResult

func (cmd *StartInstance) ExtractResult(i interface{}) string

func (*StartInstance) ParamsSpec added in v0.1.9

func (cmd *StartInstance) ParamsSpec() params.Spec

func (*StartInstance) Run

func (cmd *StartInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*StartInstance) SetApi

func (cmd *StartInstance) SetApi(api ec2iface.EC2API)

type StopAlarm

type StopAlarm struct {
	Names []*string `awsName:"AlarmNames" awsType:"awsstringslice" templateName:"names"`
	// contains filtered or unexported fields
}

func NewStopAlarm

func NewStopAlarm(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *StopAlarm

func (*StopAlarm) ParamsSpec added in v0.1.9

func (cmd *StopAlarm) ParamsSpec() params.Spec

func (*StopAlarm) Run

func (cmd *StopAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*StopAlarm) SetApi

func (cmd *StopAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)

type StopContainertask

type StopContainertask struct {
	Cluster        *string `templateName:"cluster"`
	Type           *string `templateName:"type"`
	DeploymentName *string `templateName:"deployment-name"`
	RunArn         *string `templateName:"run-arn"`
	// contains filtered or unexported fields
}

func NewStopContainertask

func NewStopContainertask(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *StopContainertask

func (*StopContainertask) ManualRun

func (cmd *StopContainertask) ManualRun(renv env.Running) (interface{}, error)

func (*StopContainertask) ParamsSpec added in v0.1.9

func (cmd *StopContainertask) ParamsSpec() params.Spec

func (*StopContainertask) Run

func (cmd *StopContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*StopContainertask) SetApi

func (cmd *StopContainertask) SetApi(api ecsiface.ECSAPI)

type StopDatabase added in v0.1.9

type StopDatabase struct {
	Id *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"`
	// contains filtered or unexported fields
}

func NewStopDatabase added in v0.1.9

func NewStopDatabase(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *StopDatabase

func (*StopDatabase) ParamsSpec added in v0.1.9

func (cmd *StopDatabase) ParamsSpec() params.Spec

func (*StopDatabase) Run added in v0.1.9

func (cmd *StopDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*StopDatabase) SetApi added in v0.1.9

func (cmd *StopDatabase) SetApi(api rdsiface.RDSAPI)

type StopInstance

type StopInstance struct {
	Id []*string `awsName:"InstanceIds" awsType:"awsstringslice" templateName:"ids"`
	// contains filtered or unexported fields
}

func NewStopInstance

func NewStopInstance(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *StopInstance

func (*StopInstance) ExtractResult

func (cmd *StopInstance) ExtractResult(i interface{}) string

func (*StopInstance) ParamsSpec added in v0.1.9

func (cmd *StopInstance) ParamsSpec() params.Spec

func (*StopInstance) Run

func (cmd *StopInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*StopInstance) SetApi

func (cmd *StopInstance) SetApi(api ec2iface.EC2API)

type UpdateBucket

type UpdateBucket struct {
	Name             *string `templateName:"name"`
	Acl              *string `templateName:"acl"`
	PublicWebsite    *bool   `templateName:"public-website"`
	RedirectHostname *string `templateName:"redirect-hostname"`
	IndexSuffix      *string `templateName:"index-suffix"`
	EnforceHttps     *bool   `templateName:"enforce-https"`
	// contains filtered or unexported fields
}

func NewUpdateBucket

func NewUpdateBucket(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateBucket

func (*UpdateBucket) ManualRun

func (cmd *UpdateBucket) ManualRun(renv env.Running) (interface{}, error)

func (*UpdateBucket) ParamsSpec added in v0.1.9

func (cmd *UpdateBucket) ParamsSpec() params.Spec

func (*UpdateBucket) Run

func (cmd *UpdateBucket) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateBucket) SetApi

func (cmd *UpdateBucket) SetApi(api s3iface.S3API)

type UpdateClassicLoadbalancer added in v0.1.11

type UpdateClassicLoadbalancer struct {
	Name                          *string `awsName:"LoadBalancerName" awsType:"awsstr" templateName:"name"`
	HealthcheckHealthyThreshold   *int64  `awsName:"Healthcheck.HealthyThreshold" awsType:"awsint64" templateName:"healthy-threshold"`
	HealthcheckUnhealthyThreshold *int64  `awsName:"Healthcheck.UnhealthyThreshold" awsType:"awsint64" templateName:"unhealthy-threshold"`
	HealthcheckInterval           *int64  `awsName:"Healthcheck.Interval" awsType:"awsint64" templateName:"health-interval"`
	HealthcheckTimeout            *int64  `awsName:"Healthcheck.Timeout" awsType:"awsint64" templateName:"health-timeout"`
	HealthcheckTarget             *string `awsName:"Healthcheck.Target" awsType:"awsstr" templateName:"health-target"`
	// contains filtered or unexported fields
}

func NewUpdateClassicLoadbalancer added in v0.1.11

func NewUpdateClassicLoadbalancer(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateClassicLoadbalancer

func (*UpdateClassicLoadbalancer) ParamsSpec added in v0.1.11

func (cmd *UpdateClassicLoadbalancer) ParamsSpec() params.Spec

func (*UpdateClassicLoadbalancer) Run added in v0.1.11

func (cmd *UpdateClassicLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateClassicLoadbalancer) SetApi added in v0.1.11

func (cmd *UpdateClassicLoadbalancer) SetApi(api elbiface.ELBAPI)

type UpdateContainertask

type UpdateContainertask struct {
	Cluster        *string `awsName:"Cluster" awsType:"awsstr" templateName:"cluster"`
	DeploymentName *string `awsName:"Service" awsType:"awsstr" templateName:"deployment-name"`
	DesiredCount   *int64  `awsName:"DesiredCount" awsType:"awsint64" templateName:"desired-count"`
	Name           *string `awsName:"TaskDefinition" awsType:"awsstr" templateName:"name"`
	// contains filtered or unexported fields
}

func NewUpdateContainertask

func NewUpdateContainertask(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateContainertask

func (*UpdateContainertask) ParamsSpec added in v0.1.9

func (cmd *UpdateContainertask) ParamsSpec() params.Spec

func (*UpdateContainertask) Run

func (cmd *UpdateContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateContainertask) SetApi

func (cmd *UpdateContainertask) SetApi(api ecsiface.ECSAPI)

type UpdateDistribution

type UpdateDistribution struct {
	Id             *string   `awsName:"Id" awsType:"awsstr" templateName:"id"`
	OriginDomain   *string   `templateName:"origin-domain"`
	Certificate    *string   `templateName:"certificate"`
	Comment        *string   `templateName:"comment"`
	DefaultFile    *string   `templateName:"default-file"`
	DomainAliases  []*string `templateName:"domain-aliases"`
	Enable         *bool     `templateName:"enable"`
	ForwardCookies *string   `templateName:"forward-cookies"`
	ForwardQueries *bool     `templateName:"forward-queries"`
	HttpsBehaviour *string   `templateName:"https-behaviour"`
	OriginPath     *string   `templateName:"origin-path"`
	PriceClass     *string   `templateName:"price-class"`
	MinTtl         *int64    `templateName:"min-ttl"`
	// contains filtered or unexported fields
}

func NewUpdateDistribution

func NewUpdateDistribution(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateDistribution

func (*UpdateDistribution) ExtractResult

func (cmd *UpdateDistribution) ExtractResult(i interface{}) string

func (*UpdateDistribution) ManualRun

func (cmd *UpdateDistribution) ManualRun(renv env.Running) (interface{}, error)

func (*UpdateDistribution) ParamsSpec added in v0.1.9

func (cmd *UpdateDistribution) ParamsSpec() params.Spec

func (*UpdateDistribution) Run

func (cmd *UpdateDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateDistribution) SetApi

type UpdateImage added in v0.1.9

type UpdateImage struct {
	Id           *string   `awsName:"ImageId" awsType:"awsstr" templateName:"id"`
	Groups       []*string `awsName:"UserGroups" awsType:"awsstringslice" templateName:"groups"`
	Accounts     []*string `awsName:"UserIds" awsType:"awsstringslice" templateName:"accounts"`
	Operation    *string   `awsName:"OperationType" awsType:"awsstr" templateName:"operation"`
	ProductCodes []*string `awsName:"ProductCodes" awsType:"awsstringslice" templateName:"product-codes"`
	Description  *string   `awsName:"Description" awsType:"awsstringattribute" templateName:"description"`
	// contains filtered or unexported fields
}

func NewUpdateImage added in v0.1.9

func NewUpdateImage(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateImage

func (*UpdateImage) ManualRun added in v0.1.9

func (cmd *UpdateImage) ManualRun(renv env.Running) (interface{}, error)

func (*UpdateImage) ParamsSpec added in v0.1.9

func (cmd *UpdateImage) ParamsSpec() params.Spec

func (*UpdateImage) Run added in v0.1.9

func (cmd *UpdateImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateImage) SetApi added in v0.1.9

func (cmd *UpdateImage) SetApi(api ec2iface.EC2API)

type UpdateInstance

type UpdateInstance struct {
	Id   *string `awsName:"InstanceId" awsType:"awsstr" templateName:"id"`
	Type *string `awsName:"InstanceType.Value" awsType:"awsstr" templateName:"type"`
	Lock *bool   `awsName:"DisableApiTermination" awsType:"awsboolattribute" templateName:"lock"`
	// contains filtered or unexported fields
}

func NewUpdateInstance

func NewUpdateInstance(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateInstance

func (*UpdateInstance) ParamsSpec added in v0.1.9

func (cmd *UpdateInstance) ParamsSpec() params.Spec

func (*UpdateInstance) Run

func (cmd *UpdateInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateInstance) SetApi

func (cmd *UpdateInstance) SetApi(api ec2iface.EC2API)

type UpdateLoginprofile

type UpdateLoginprofile struct {
	Username      *string `awsName:"UserName" awsType:"awsstr" templateName:"username"`
	Password      *string `awsName:"Password" awsType:"awsstr" templateName:"password"`
	PasswordReset *bool   `awsName:"PasswordResetRequired" awsType:"awsbool" templateName:"password-reset"`
	// contains filtered or unexported fields
}

func NewUpdateLoginprofile

func NewUpdateLoginprofile(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateLoginprofile

func (*UpdateLoginprofile) ParamsSpec added in v0.1.9

func (cmd *UpdateLoginprofile) ParamsSpec() params.Spec

func (*UpdateLoginprofile) Run

func (cmd *UpdateLoginprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateLoginprofile) SetApi

func (cmd *UpdateLoginprofile) SetApi(api iamiface.IAMAPI)

type UpdatePolicy

type UpdatePolicy struct {
	Arn            *string   `awsName:"PolicyArn" awsType:"awsstr" templateName:"arn"`
	Effect         *string   `templateName:"effect"`
	Action         []*string `templateName:"action"`
	Resource       []*string `templateName:"resource"`
	Conditions     []*string `templateName:"conditions"`
	Document       *string   `awsName:"PolicyDocument" awsType:"awsstr"`
	DefaultVersion *bool     `awsName:"SetAsDefault" awsType:"awsbool"`
	// contains filtered or unexported fields
}

func NewUpdatePolicy

func NewUpdatePolicy(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdatePolicy

func (*UpdatePolicy) BeforeRun

func (cmd *UpdatePolicy) BeforeRun(renv env.Running) error

func (*UpdatePolicy) ParamsSpec added in v0.1.9

func (cmd *UpdatePolicy) ParamsSpec() params.Spec

func (*UpdatePolicy) Run

func (cmd *UpdatePolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdatePolicy) SetApi

func (cmd *UpdatePolicy) SetApi(api iamiface.IAMAPI)

type UpdateRecord

type UpdateRecord struct {
	Zone   *string   `templateName:"zone"`
	Name   *string   `templateName:"name"`
	Type   *string   `templateName:"type"`
	Values []*string `templateName:"values"`
	Ttl    *int64    `templateName:"ttl"`
	// contains filtered or unexported fields
}

func NewUpdateRecord

func NewUpdateRecord(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateRecord

func (*UpdateRecord) ExtractResult

func (cmd *UpdateRecord) ExtractResult(i interface{}) string

func (*UpdateRecord) ManualRun

func (cmd *UpdateRecord) ManualRun(renv env.Running) (interface{}, error)

func (*UpdateRecord) ParamsSpec added in v0.1.9

func (cmd *UpdateRecord) ParamsSpec() params.Spec

func (*UpdateRecord) Run

func (cmd *UpdateRecord) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateRecord) SetApi

func (cmd *UpdateRecord) SetApi(api route53iface.Route53API)

type UpdateS3object

type UpdateS3object struct {
	Bucket  *string `awsName:"Bucket" awsType:"awsstr" templateName:"bucket"`
	Name    *string `awsName:"Key" awsType:"awsstr" templateName:"name"`
	Acl     *string `awsName:"ACL" awsType:"awsstr" templateName:"acl"`
	Version *string `awsName:"VersionId" awsType:"awsstr" templateName:"version"`
	// contains filtered or unexported fields
}

func NewUpdateS3object

func NewUpdateS3object(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateS3object

func (*UpdateS3object) ParamsSpec added in v0.1.9

func (cmd *UpdateS3object) ParamsSpec() params.Spec

func (*UpdateS3object) Run

func (cmd *UpdateS3object) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateS3object) SetApi

func (cmd *UpdateS3object) SetApi(api s3iface.S3API)

type UpdateScalinggroup

type UpdateScalinggroup struct {
	Name                   *string   `awsName:"AutoScalingGroupName" awsType:"awsstr" templateName:"name"`
	Cooldown               *int64    `awsName:"DefaultCooldown" awsType:"awsint64" templateName:"cooldown"`
	DesiredCapacity        *int64    `awsName:"DesiredCapacity" awsType:"awsint64" templateName:"desired-capacity"`
	HealthcheckGracePeriod *int64    `awsName:"HealthCheckGracePeriod" awsType:"awsint64" templateName:"healthcheck-grace-period"`
	HealthcheckType        *string   `awsName:"HealthCheckType" awsType:"awsstr" templateName:"healthcheck-type"`
	Launchconfiguration    *string   `awsName:"LaunchConfigurationName" awsType:"awsstr" templateName:"launchconfiguration"`
	MaxSize                *int64    `awsName:"MaxSize" awsType:"awsint64" templateName:"max-size"`
	MinSize                *int64    `awsName:"MinSize" awsType:"awsint64" templateName:"min-size"`
	NewInstancesProtected  *bool     `awsName:"NewInstancesProtectedFromScaleIn" awsType:"awsbool" templateName:"new-instances-protected"`
	Subnets                []*string `awsName:"VPCZoneIdentifier" awsType:"awscsvstr" templateName:"subnets"`
	// contains filtered or unexported fields
}

func NewUpdateScalinggroup

func NewUpdateScalinggroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateScalinggroup

func (*UpdateScalinggroup) ParamsSpec added in v0.1.9

func (cmd *UpdateScalinggroup) ParamsSpec() params.Spec

func (*UpdateScalinggroup) Run

func (cmd *UpdateScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateScalinggroup) SetApi

type UpdateSecuritygroup

type UpdateSecuritygroup struct {
	Id            *string `templateName:"id"`
	Protocol      *string `templateName:"protocol"`
	CIDR          *string `templateName:"cidr"`
	Securitygroup *string `templateName:"securitygroup"`
	Inbound       *string `templateName:"inbound"`
	Outbound      *string `templateName:"outbound"`
	Portrange     *string `templateName:"portrange"`
	// contains filtered or unexported fields
}

func NewUpdateSecuritygroup

func NewUpdateSecuritygroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateSecuritygroup

func (*UpdateSecuritygroup) ManualRun

func (cmd *UpdateSecuritygroup) ManualRun(renv env.Running) (interface{}, error)

func (*UpdateSecuritygroup) ParamsSpec added in v0.1.9

func (cmd *UpdateSecuritygroup) ParamsSpec() params.Spec

func (*UpdateSecuritygroup) Run

func (cmd *UpdateSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateSecuritygroup) SetApi

func (cmd *UpdateSecuritygroup) SetApi(api ec2iface.EC2API)

type UpdateStack

type UpdateStack struct {
	Name                  *string   `awsName:"StackName" awsType:"awsstr" templateName:"name"`
	Capabilities          []*string `awsName:"Capabilities" awsType:"awsstringslice" templateName:"capabilities"`
	Notifications         []*string `awsName:"NotificationARNs" awsType:"awsstringslice" templateName:"notifications"`
	Parameters            []*string `awsName:"Parameters" awsType:"awsparameterslice" templateName:"parameters"`
	ResourceTypes         []*string `awsName:"ResourceTypes" awsType:"awsstringslice" templateName:"resource-types"`
	Role                  *string   `awsName:"RoleARN" awsType:"awsstr" templateName:"role"`
	PolicyFile            *string   `awsName:"StackPolicyBody" awsType:"awsfiletostring" templateName:"policy-file"`
	PolicyUpdateFile      *string   `awsName:"StackPolicyDuringUpdateBody" awsType:"awsfiletostring" templateName:"policy-update-file"`
	TemplateFile          *string   `awsName:"TemplateBody" awsType:"awsfiletostring" templateName:"template-file"`
	UsePreviousTemplate   *bool     `awsName:"UsePreviousTemplate" awsType:"awsbool" templateName:"use-previous-template"`
	Tags                  []*string `awsName:"Tags" awsType:"awstagslice" templateName:"tags"`
	PolicyBody            *string   `awsName:"StackPolicyBody" awsType:"awsstr"`
	StackFile             *string   `templateName:"stack-file"`
	RollbackTriggers      []*string `awsName:"RollbackConfiguration.RollbackTriggers" awsType:"awsalarmrollbacktriggers" templateName:"rollback-triggers"`
	RollbackMonitoringMin *int64    `awsName:"RollbackConfiguration.MonitoringTimeInMinutes" awsType:"awsint64" templateName:"rollback-monitoring-min"`
	// contains filtered or unexported fields
}

func NewUpdateStack

func NewUpdateStack(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateStack

func (*UpdateStack) ExtractResult

func (cmd *UpdateStack) ExtractResult(i interface{}) string

func (*UpdateStack) ParamsSpec added in v0.1.9

func (cmd *UpdateStack) ParamsSpec() params.Spec

func (*UpdateStack) Run

func (cmd *UpdateStack) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateStack) SetApi

type UpdateSubnet

type UpdateSubnet struct {
	Id     *string `awsName:"SubnetId" awsType:"awsstr" templateName:"id"`
	Public *bool   `awsName:"MapPublicIpOnLaunch" awsType:"awsboolattribute" templateName:"public"`
	// contains filtered or unexported fields
}

func NewUpdateSubnet

func NewUpdateSubnet(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateSubnet

func (*UpdateSubnet) ParamsSpec added in v0.1.9

func (cmd *UpdateSubnet) ParamsSpec() params.Spec

func (*UpdateSubnet) Run

func (cmd *UpdateSubnet) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateSubnet) SetApi

func (cmd *UpdateSubnet) SetApi(api ec2iface.EC2API)

type UpdateTargetgroup

type UpdateTargetgroup struct {
	Id                  *string `awsName:"TargetGroupArn" awsType:"awsstr" templateName:"id"`
	Deregistrationdelay *string `awsType:"awsstr" templateName:"deregistrationdelay"`
	Stickiness          *string `awsType:"awsstr" templateName:"stickiness"`
	Stickinessduration  *string `awsType:"awsstr" templateName:"stickinessduration"`
	Healthcheckinterval *int64  `awsName:"HealthCheckIntervalSeconds" awsType:"awsint64" templateName:"healthcheckinterval"`
	Healthcheckpath     *string `awsName:"HealthCheckPath" awsType:"awsstr" templateName:"healthcheckpath"`
	Healthcheckport     *string `awsName:"HealthCheckPort" awsType:"awsstr" templateName:"healthcheckport"`
	Healthcheckprotocol *string `awsName:"HealthCheckProtocol" awsType:"awsstr" templateName:"healthcheckprotocol"`
	Healthchecktimeout  *int64  `awsName:"HealthCheckTimeoutSeconds" awsType:"awsint64" templateName:"healthchecktimeout"`
	Healthythreshold    *int64  `awsName:"HealthyThresholdCount" awsType:"awsint64" templateName:"healthythreshold"`
	Unhealthythreshold  *int64  `awsName:"UnhealthyThresholdCount" awsType:"awsint64" templateName:"unhealthythreshold"`
	Matcher             *string `awsName:"Matcher.HttpCode" awsType:"awsstr" templateName:"matcher"`
	// contains filtered or unexported fields
}

func NewUpdateTargetgroup

func NewUpdateTargetgroup(sess *session.Session, g cloud.GraphAPI, l ...*logger.Logger) *UpdateTargetgroup

func (*UpdateTargetgroup) ManualRun

func (tg *UpdateTargetgroup) ManualRun(renv env.Running) (interface{}, error)

func (*UpdateTargetgroup) ParamsSpec added in v0.1.9

func (cmd *UpdateTargetgroup) ParamsSpec() params.Spec

func (*UpdateTargetgroup) Run

func (cmd *UpdateTargetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)

func (*UpdateTargetgroup) SetApi

func (cmd *UpdateTargetgroup) SetApi(api elbv2iface.ELBV2API)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL